tschak909 Posted October 12, 2019 Share Posted October 12, 2019 I have a graphic bitmap that is 160x30 pixels, and I am trying to convert it to a 2 bits per pixel format that can be displayed with a mode D display list, anyone know of some tools I can use? as I am not wanting to convert this by hand... Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted October 12, 2019 Share Posted October 12, 2019 Hmmm, you could try Irfan View and its option "decrease colour depth" (set it to 4 colours or 2 colours or greys or just b+w), then save it as PNG, BMP or whatever you want... Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 12, 2019 Author Share Posted October 12, 2019 dude, no. That is not what I am asking. I have, a file, that is already the correct # of colors. but it needs to be 2 bits per pixel, raw, so I can include it in my program. -Thom Quote Link to comment Share on other sites More sharing options...
Rybags Posted October 12, 2019 Share Posted October 12, 2019 Seems Gimp can't do it and probably same for PhotoShop. Even RECOIL looks to not have the ability, it seems to be oriented more towards viewing and converting from formats that old systems used. Looking around, ImageMagick was suggested somewhere for doing bitdepth conversions - it seems to be a GUI utility but also has command line tools that do a whole bunch of other things. https://imagemagick.org/index.php Whether it can take a 2bpp paletted image then pack into a raw format that you simply load into memory on the Atari, I don't know. Generally when doing graphics stuff I've just written little programs in Basic that do the work on the raw data then just run them in the emulator on turbo. Quote Link to comment Share on other sites More sharing options...
globe Posted October 12, 2019 Share Posted October 12, 2019 You can use Atari Graphics Studio with settings in attached screenshot, then load first 1200 bytes of resulting .mic file into your project. (no idea how to save only 160x30 cropped part, looks like AGS always saves full screen) test.xex 1 Quote Link to comment Share on other sites More sharing options...
Irgendwer Posted October 12, 2019 Share Posted October 12, 2019 11 hours ago, tschak909 said: anyone know of some tools I can use? as I am not wanting to convert this by hand... Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted October 12, 2019 Share Posted October 12, 2019 (deleted) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.