Page 1 of 1

Any chance of introducing a pngfolder

Posted: Thu Feb 15, 2024 11:07 am
by SpaceTraveller
Introduce png folder.jpg
Introduce png folder.jpg (40.64 KiB) Viewed 1478 times

Re: Any chance of introducing a pngfolder

Posted: Thu Feb 15, 2024 2:31 pm
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!

Re: Any chance of introducing a pngfolder

Posted: Thu Feb 15, 2024 3:35 pm
by SpaceTraveller
Yes for alpha purposes here as well - here's hoping Eric is on it for the future... 8-)

Re: Any chance of introducing a pngfolder

Posted: Tue Feb 20, 2024 5:22 am
by skarabee
time to add my +1 ;)

Re: Any chance of introducing a pngfolder

Posted: Tue Feb 20, 2024 7:23 pm
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".

Re: Any chance of introducing a pngfolder

Posted: Wed Feb 21, 2024 11:26 pm
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.