Open nicovdd96 opened 1 year ago
can we get a file to repro this with to have a proper test? /needinfo
can we get a file to repro this with to have a proper test? /needinfo
I don't know if you can repro this without SuperPNG plugin for Photoshop, but here are some files:
Original File with Alpha Channel option checked in SuperPNG Export. This file is 6x bigger than Clean Transparency further below
Resized from the Alpha Channel file
Original File with Clean Transparency option checked in SuperPNG Export
Resized from the Clean Transparency file
Here is a summary showing the channels, after being opened with SuperPNG, where you can see the RGB channel being modified when resized with Image Resizer
Description of the new feature / enhancement
I would like an option when I resize to PNG, to keep RGB channels intact when there is an Alpha Channel.
Lets take an exemple : I have an image with a flat grey RGB and an alpha channel with a logo. When I resize it when Power Toys Image Resizer, the alpha channel is intact, but the RGB Channels are broken. Here is a visual of what I mean with a Before => After Comparison. You can see than the RGB has been cropped to the alpha shape
Scenario when this would be used?
I work in Video Games Industry, where we need to bulk resize PNG textures with or without alpha channel. Now we are using Photoshop with SuperPNG Plugin to export textures with an Alpha channel without touching at the RGB channels. When we want to resize textures (like 4096x4096 from source to 1024x1024 for our game engine), we need to resize them one by one and its very time consuming. Image Resizer let us do it way more faster when we don't have any alpha in the textures, but it broke them when we have alpha. I did Photoshop Actions using SuperPNG to bulk resize but it would be better to have this feature directly in PowerToys Image Resizer
Supporting information
Photoshop free plugin "SuperPNG" has the option to keep the alpha channel without breaking the RGB channels