sylikc / jpegview

Fork of JPEGView by David Kleiner - fast and highly configurable viewer/editor for JPEG, BMP, PNG, WEBP, TGA, GIF and TIFF images with a minimal GUI. Basic on-the-fly image processing is provided - allowing adjusting typical parameters as sharpness, color balance, rotation, perspective, contrast and local under-/overexposure.
Other
2.19k stars 128 forks source link

Can the BackgroundColor support RGBA ? #287

Open kelly-mi opened 9 months ago

kelly-mi commented 9 months ago

Can BackgroundColor in the ini file support R G B A to display transparent backgrounds in png format images. thinks ;-) demo: BackgroundColor=0 0 0 0.5 TransparencyColor=0 0 0 0

qbnu commented 9 months ago

BackgroundColor sets the color of the borders around the image
TransparencyColor sets the color that gets blended with the transparent parts of the image, which I think is what you want

kelly-mi commented 7 months ago

I want to present a transparent background in the transparent part when previewing PNG files. Currently, the transparency setting only supports RGB and cannot achieve transparency. Can RGBA support this effect? No need for frosted glass, as long as it can be transparent. 微信截图_20240403114616

kelly-mi commented 7 months ago

I want to present a transparent background in the transparent part when previewing PNG files. Currently, the transparency setting only supports RGB and cannot achieve transparency. Can RGBA support this effect? No need for frosted glass, as long as it can be transparent. 微信截图_20240403114616