Monochron - Change Size of Dali Clock
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Monochron - Change Size of Dali Clock
try it on the original 28X64 digits. See if you get the same thing for 0.bmp as I did.
-
- Posts: 40
- Joined: Sat Jul 14, 2012 11:12 am
Re: Monochron - Change Size of Dali Clock
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?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Monochron - Change Size of Dali Clock
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)
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)
-
- Posts: 40
- Joined: Sat Jul 14, 2012 11:12 am
Re: Monochron - Change Size of Dali Clock
Any idea how to do that in Photoshop? I can't find anything about that in Photoshop or on Google.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Monochron - Change Size of Dali Clock
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.
If you're running windows, just use paint.
Please be positive and constructive with your questions and comments.