mriale / PyDPainter

A usable pixel art paint program written in Python
GNU General Public License v3.0
549 stars 26 forks source link

Feature: Save brush as an icon #14

Open Yesideez opened 1 year ago

Yesideez commented 1 year ago

It would be very good to be able to save images as .info files to make icons. Support for NewIcons would be absolutely incredible as it would make adding new icons for WHDLoad conversions so much easier.

I know icons have two states - not selected and optionally, selected and not sure how to have that second image saved into an icon - maybe save the first file as (for example) newicon-1 as an icon and it would create an icon which has no selected second image but just inverts the data (as default). If the user then saves out newicon-2 it looks for newicon-1 and if present, sets that as the first image and the image being saved out as the second image?

mriale commented 1 year ago

Info on Amiga icon file formats: http://www.evillabs.net/index.php/Amiga_Icon_Formats

mriale commented 1 year ago

@Yesideez I was waiting to implement this when I would have anim brushes, but how do you think it would work to add the functionality this way:

I guess the real question is when designing an icon do you use the whole screen or just the area of an icon? Having a small page would make it like a regular icon editor but with a lot more tools. It just wouldn't allow you to stretch out over the entire screen size to add different versions or parts to place into the icon.

Would a small page size work for you to edit an icon?