CryShana / CryBarEditor

Age of Mythology Retold resource manager, BAR editor, modding tool
16 stars 0 forks source link

Option to remove transparency from png images #1

Open CodesbyRobot opened 2 months ago

CryShana commented 2 months ago

Can you elaborate on this?

If you wish to remove transparency, you can do so with any other image editor once you export the image. Or do you wish this app to have some quick image editing functions?

CodesbyRobot commented 2 months ago

If you could add an optional tick box to quickly remove the alpha channel when bulk exporting, it would be great.

CryShana commented 2 months ago

Will keep it noted. For now not high priority.

CryShana commented 2 months ago

I need to make a Settings window for all the extra settings for configuring the behaviour of the editor.

One of these settings could be custom export settings. I could then add a new option "Export ... (custom)" for selected files.

This would use the custom defined settings - one of which could be Removing transparency and what color to replace the transparency with. What do you think?

CodesbyRobot commented 2 months ago

What Resource Manager did was when exporting, it opened a new smaller window popup, where it asked a bunch of settings preferences for exporting, that it saved, so next time you were exporting, you could just click ok if you wanted the same settings.

This ensures that the person using the software knows at least about these options. You could even make a tick box in that window writing don't ask again or a link see more options which would then open the full options settings; that depends on how many configuration options you want to add, of course.

CryShana commented 2 months ago

Yeah, seems like a good idea - I would only add this to the Convert export option -- the Copy option will always just copy the file as is.