Converting to 1-bit

Library of images to use as OFFIMG screens on the DM41X and DM42
Forum rules
Do you have a creative streak? Post your OFFIMG photos here.

Images MUST be in Windows-NT .bmp format at a resolution of 400x240 pixels and 1-bit colour depth or they will not be displayed by the DM42. Images that do not meet this requirement will be removed from the forum :)
toml_12953
Posts: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: Converting to 1-bit

Post by toml_12953 »

STS-741 wrote:
Wed Nov 11, 2020 10:50 am
I use Pierre-Emmanuel Gougelet's XnView (Ver. 2.49.4) software for this, which is available as freeware for several operating systems. It's easy to use and has been translated into 46 languages. The program is also freely available in a portable version. 8-)
I wish GIMP still worked the way it used to! Now I'm trying to use XnView but my images come out as 52KB. A real background image is 13KB. My image is 400x240. I choose color depth binary and Floyd Steinberg dithering with neither 24 bits nor 32 bits checked. What else can I set to make this work?
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
pyridine
Posts: 30
Joined: Fri Sep 01, 2017 11:48 pm

Re: Converting to 1-bit

Post by pyridine »

With XnView, it works for me if I export the picture (instead of saving, which forces 24-bit conversion).
File - Export - Tab BMP (all options unchecked), color mode = black & white - Save - Record...
Last edited by pyridine on Fri Feb 12, 2021 7:57 pm, edited 1 time in total.
toml_12953
Posts: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: Converting to 1-bit

Post by toml_12953 »

pyridine wrote:
Wed Feb 10, 2021 8:24 pm
With XnView, it works for me if I export the picture (instead of saving, which forces 24-bit conversion).
File - Export - Tab BMP (all options unchecked) - Save - Record...
That worked. Thanks! I never did like the way GIMP took so long to start. I put up with it because that was the only way I was used to creating backgrounds.
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
User avatar
revwillie
Posts: 133
Joined: Mon Apr 24, 2017 7:48 pm

Re: Converting to 1-bit

Post by revwillie »

Well Gimp is still great for lots of things. I don't mind the short xconvert step now that I know how to do it. Thanks for confirming the gimp issue because I thought I was doing something wrong.
DM42 SN: 00076
DM15, HP 28c, HP 12c, HP 10b, HP 20b, HP 30b, HP 17bII, HP 42s, HP 35s, WP 34s, NP-25, TI-83+, teenix multicalc
tgray
Posts: 27
Joined: Fri Jul 28, 2017 3:36 am

Re: Converting to 1-bit

Post by tgray »

reavy wrote:
Fri Nov 06, 2020 9:51 pm
tgray wrote:
Tue Dec 03, 2019 1:07 am
Photoshop for initial cropping and then a python script I wrote for the mono conversion and final dithering.

I always loved the way Atkinson dithering looked. It reminds me of being a kid and playing on the classic Macs at my dad’s work. So I implemented it for myself when I got a DM42. Fun learning project.

My code is here for anybody who wants it:
https://github.com/tgray/hyperdither
I found this thread while looking for tools to easily convert to 1-bit BMPs for my DM42. I had good luck with tgray's hyperdither. I forked it and made a small revision to get it to work with Python 3. Here for anyone who is interested: https://github.com/bpburns/hyperdither
Thanks for updating it to Python 3! I should pull your changes at some point when I get the motivation :)
Post Reply