Announcement

Collapse
No announcement yet.

Transparent PNG files issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Transparent PNG files issue

    I created a PNG file with a transparent background, to have only the text to be applied wherever I want.

    Click image for larger version  Name:	Test01.png Views:	3 Size:	23.1 KB ID:	90852

    Like this.

    Click image for larger version  Name:	Test02.png Views:	3 Size:	1.79 MB ID:	90854

    Then I decided to test the same PNG in negative and used Image > Negative (invert image) > All channels.

    The result was that IrfanView made everything negative in a way that turned the black text into white, as expected. But it didn't preserve the transparent part of the image and turned it into orange, probably because I set IV's main window color to blue.


    Click image for larger version  Name:	Test03.png Views:	3 Size:	25.3 KB ID:	90853

    So, when I applied the PNG turned negative by IV to the same image, this was the result.

    Click image for larger version  Name:	Test04.png Views:	3 Size:	1.33 MB ID:	90855

    I thought IV would preserve the transparent areas of the image and convert only the rest.

    I don't know if it is a bug, the result of a wrong setting or anything else, so I came here to ask for your help. TIA.


    Versions

    IrfanView 4.57 32-bit

    Windows 10 Pro 20H2 19042.870 64-bit
    Last edited by Paultx; 29.03.2021, 04:03 PM.
    Desktop PC: Windows 10 Pro - 64-bit • Intel Core i7 • 12 GB RAM
    Laptop PC: Windows 10 Pro - 64-bit • Intel Core i5 • 6 GB RAM
    IrfanView 4.60 • 32-bit

    #2
    Probably not a bug because the IrfanView edit window only supports 24-bit without alpha transparency. If you save the negative as a new transparent image, to use the Image overlay feature, that should work.
    Before you post ... Edit your profile • IrfanView 4.67 • Windows 10 Home 19045.2486

    Irfan PaintIrfan View HelpIrfanPaint HelpRiot.dllMore SkinsFastStone CaptureUploads

    Comment

    Working...
    X