Results 1 to 3 of 3

Thread: Batch Convert - Keep existing transparency without clicking each one

  1. #1

    Default Batch Convert - Keep existing transparency without clicking each one

    I have a huge amount of PNG32's that I would like to convert to PNG8. The original images have a black background that is transparent. I would like to batch convert these to PNG8's and maintain that black transparency. It works fine if I 'click' the transparent color on each image as it cycles through, but for obvious reasons, I'd like to avoid that. Can anyone lend some insight?

    Thanks.
    J

  2. #2
    Professional User Mij's Avatar
    Join Date
    Mar 2007
    Location
    Camberley, Surrey, UK
    Posts
    2,763
    Version
    IrfanView 4.51
    OS
    32-bit Win 10
    CPU Cores
    3

    Default

    The correct options have to be first stored in the i_view32.ini initialization file. Proceed as follows

    Open main Irfanview window.
    Open Options >Properties/settings > View tab
    To open a PNG file and retain the original transparent color make sure that
    Show PNG/TGA/DDC alpha/transparent color is Checked
    Press OK to store this setting in the ini file

    Open an image then File >Save As and select Save as type : PNG. Open the Save options if not already displayed. Make sure that Save transparent color is Unchecked.
    Save the file somewhere (Note: A file must be saved for these options to be stored in the ini file)
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Open tp.jpg 
Views:	1988 
Size:	23.7 KB 
ID:	2591   Click image for larger version. 

Name:	Save tp.jpg 
Views:	1448 
Size:	33.2 KB 
ID:	2592  

  3. #3

    Default

    Perfect. Worked like a charm. I appreciate the assistance.

    Thanks
    J

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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