Monochron - Change Size of Dali Clock

Tick Tock Clock Kits

Moderators: adafruit_support_bill, adafruit

Re: Monochron - Change Size of Dali Clock

Postby adafruit_support_rick » Tue Aug 14, 2012 1:42 pm

try it on the original 28X64 digits. See if you get the same thing for 0.bmp as I did.
User avatar
adafruit_support_rick
 
Posts: 2878
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: Monochron - Change Size of Dali Clock

Postby edc1591 » Tue Aug 14, 2012 1:50 pm

Doing that gives me the same output as you. So I guess the problem lies with how I'm resizing the images. I noticed that the un-resized images are 318 bytes, but when I resize them (make them smaller) in Photoshop and save them as bitmaps, they are 4 KB. Shouldn't they be smaller in size since I'm scaling them down?
edc1591
 
Posts: 40
Joined: Sat Jul 14, 2012 10:12 am
Location: New York, NY

Re: Monochron - Change Size of Dali Clock

Postby adafruit_support_rick » Tue Aug 14, 2012 2:20 pm

Make sure Photoshop is saving them as true 1-bit per pixel bitmaps. If 24X54 images are coming out as 4K, then Photoshop is probably saving them as 24-bit color.
Notice that the originals are 26 X 64 = 1792 pixels. The only way to get that into 318 bytes is if you're only using 1 bit per pixel: 1792 / 8 = 224 bytes (plus file overhead)
User avatar
adafruit_support_rick
 
Posts: 2878
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: Monochron - Change Size of Dali Clock

Postby edc1591 » Tue Aug 14, 2012 2:38 pm

Any idea how to do that in Photoshop? I can't find anything about that in Photoshop or on Google.
edc1591
 
Posts: 40
Joined: Sat Jul 14, 2012 10:12 am
Location: New York, NY

Re: Monochron - Change Size of Dali Clock

Postby adafruit_support_rick » Tue Aug 14, 2012 4:58 pm

I don't have photoshop. But there will be some option someplace about bit depth (should be 1), or black-and-white (not grayscale). You should see these options on a Save As… or if you do an Export…

If you're running windows, just use paint.
User avatar
adafruit_support_rick
 
Posts: 2878
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Previous

Return to Clocks

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]