English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. System (https://eab.abime.net/forumdisplay.php?f=113)
-   -   convert an icon file into an OS image structure dc.l (https://eab.abime.net/showthread.php?t=71809)

AGS 14 December 2013 16:36

convert an icon file into an OS image structure dc.w array
 
Hi,

I would like to include the imagery of some icons into my oxmaster.library and wonder how I can convert a DiskObject into an Image Structure (with image data) that I can include in my asm sourcecode. How to peform this?

Thanks in Advance
ags

ps: I talk about classic 1.3 compatible image structures, not png icons or such.

pps: I found this: http://krashan.ppa.pl/articles/amigaicons/

Is good but would require me to write a program to extract the image data from the icon. Isn't there a tool for this already?

daxb 14 December 2013 18:35

I don`t know if it help but you can load the icons with PPaint and save them to any format.

AGS 14 December 2013 19:10

Would be a solution. Unfortunately no linux app that I known supports this. I did it now the 'dirty' way. I grabbed the icon from the screen into GIMP, then zoomed it 800% and made a pixel by pixel d.w %00000000 array by entering ones there for very pixel that is set, by hand. :D


All times are GMT +2. The time now is 05:42.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04269 seconds with 11 queries