Monochron - Change Size of Dali Clock

For RTC breakouts, etc., use the Other Products from Adafruit forum

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Monochron - Change Size of Dali Clock

Post by adafruit_support_rick »

try it on the original 28X64 digits. See if you get the same thing for 0.bmp as I did.

edc1591
 
Posts: 40
Joined: Sat Jul 14, 2012 11:12 am

Re: Monochron - Change Size of Dali Clock

Post by edc1591 »

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?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Monochron - Change Size of Dali Clock

Post by adafruit_support_rick »

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)

edc1591
 
Posts: 40
Joined: Sat Jul 14, 2012 11:12 am

Re: Monochron - Change Size of Dali Clock

Post by edc1591 »

Any idea how to do that in Photoshop? I can't find anything about that in Photoshop or on Google.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Monochron - Change Size of Dali Clock

Post by adafruit_support_rick »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Clock Kits (discontinued)”