Results 1 to 2 of 2

Thread: Display different background for specific transparent images

  1. #1
    IV Newbie
    Join Date
    May 2017
    Posts
    2
    Version
    IrfanView 4.51
    OS
    Win 10

    Default Display different background for specific transparent images

    Hello,

    If image is a transparent one and any foreground color in that image matches "settings->viewing->main window color" then Irfanview automatically changes background color for displaying that image modified like 50% of what it is set (if necessary automatically reload image to reflect background color change).

    For example;
    - Settings have main window color set to black.
    - Picture displayed has transparency.
    - Picture displayed has black in foreground color (displayed color).
    For such a picture;
    - display background color will be switched to 50% less black (aka gray).
    - Settings is going to have main window color not changed (it will still be black).
    If next picture is transparent one and any of foreground color(s) does not have black then it will still be displayed in black main window color as in settings.

    Probably such a feature can be included in options to allow people turn on/off upon any need.

    Reasons for request:
    - That will help people mostly dealing with transparent images not to play with background color each time there is non-visible or partially visible images.
    - Sometimes you cannot understand that part of the picture is not visible because that small part has same color as main window color in settings.

    I believe, Pictures application in Windows 10 does such a thing already. Cannot be sure though.

    Thanks & regards,
    Ertan

  2. #2
    Moderator Enterprise User Bhikkhu Pesala's Avatar
    Join Date
    May 2007
    Location
    East London
    Posts
    6,318
    OS
    64-bit Win 10
    CPU Cores
    1

    Default

    Other applications support 32-bit images, IrfanView does not. The format that it uses only supports 24-bit. See this other thread.

    I don't see this request ever being implemented. The right way to go is to support 32-bit properly, which may not happen any time soon.

    Bottom Line: Use another application if you have to edit 32-bit images, and change the main window colour to suit the current image. I use light yellow for my window colour and rarely run into issues with viewing 32-bit PNG images.

    I suggest using the “ Open in external editor” option to edit PNG files with transparency.
    Last edited by Bhikkhu Pesala; 14.06.2018 at 04:23 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •