Previous topicNext topic

Any chance of introducing a pngfolder

Suggestions for new features for Magic.
Post Reply
SpaceTraveller
Posts: 41
Joined: Fri Mar 12, 2021 10:33 pm

Any chance of introducing a pngfolder

Post by SpaceTraveller »

Introduce png folder.jpg
Introduce png folder.jpg (40.64 KiB) Viewed 783 times
Sadler
Posts: 1142
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Any chance of introducing a pngfolder

Post by Sadler »

This has been asked for by others: viewtopic.php?p=10830

Despite the performance caveats, I have also had a need (for alpha purposes) and appreciate the bump.

But, who knows, maybe already implemented in the next version!
SpaceTraveller
Posts: 41
Joined: Fri Mar 12, 2021 10:33 pm

Re: Any chance of introducing a pngfolder

Post by SpaceTraveller »

Yes for alpha purposes here as well - here's hoping Eric is on it for the future... 8-)
skarabee
Posts: 131
Joined: Fri Aug 28, 2015 3:11 am

Re: Any chance of introducing a pngfolder

Post by skarabee »

time to add my +1 ;)
Terry Payman
Posts: 711
Joined: Sun Sep 14, 2014 8:15 am
Location: UK
Contact:

Re: Any chance of introducing a pngfolder

Post by Terry Payman »

+1 for me too, but I don't have many pngs to deal with so am happy with workarounds that let me use jpgfolder.

In the past, I have converted "cutout" png files to "green screen" jpg files that I could chroma key to recover transparency.

For png images with more subtle alpha content perhaps one could separate that into a separate greyscale image and make a double-width composite jpg with the alpha as (say) the right-hand half. A simple ISF module could then reconstitute the original image using rgb from the left half and alpha from the right. I haven't tried this, and suspect there may be an issue with reading in the double width file meaning it would be scaled to half height. The technique would then only be useful for half-width "sprites".
SelfDrivingCarp
Posts: 8
Joined: Sat Jan 06, 2024 5:44 am

Re: Any chance of introducing a pngfolder

Post by SelfDrivingCarp »

An "ImageFolder" module that could handle all supported image types in a single directory would be easier to use than having a module for each file type.
Post Reply