Results 1 to 5 of 5

Thread: PNG to JPG Help Please

  1. #1

    Default PNG to JPG Help Please

    I am trying to convert some PNG files to JPG files, everything works fine i just need to keep the transparency for the backgrounds or make them white/colorless. i tried using the options in the batch conversion section with no success.
    Thank you in advance

  2. #2
    Professional User Skippybox's Avatar
    Join Date
    Jul 2008
    Location
    Detroit, MI USA
    Posts
    2,030
    Version
    IrfanView 4.25
    OS
    32-bit Win XP Home SP2
    CPU Cores
    1

    Default

    IrfanView unfortunately makes transparent areas black in batch conversion. I would use the command line instead, which is more like Save. You can do several (even unique) files at once, this way. Just make sure the viewer is set to have a white background.

    i_view32.exe "C:\drawing*.png" /convert="C:\Converted\$N.jpg"

    or

    i_view32.exe /filelist=C:\Myimages.txt /convert="D:\temp\*.png"

  3. #3
    Moderator Frank's Avatar
    Join Date
    Nov 2005
    Location
    Berlin, Germany
    Posts
    1,527
    Version
    IrfanView 4.38
    OS
    64-bit Win 7 Professional SP1
    CPU Cores
    2

    Default

    The JPG format cannot represent transparency!
    To use transparency you must take the PNG or the GIF format!

    With the JPG format you can only use the little trick of Skippybox!

  4. #4

    Default

    Quote Originally Posted by Skippybox View Post
    IrfanView unfortunately makes transparent areas black in batch conversion. I would use the command line instead, which is more like Save. You can do several (even unique) files at once, this way. Just make sure the viewer is set to have a white background.

    i_view32.exe "C:\drawing*.png" /convert="C:\Converted\$N.jpg"

    or

    i_view32.exe /filelist=C:\Myimages.txt /convert="D:\temp\*.png"
    How do you use or get to the command line?
    thank you
    Last edited by RobertT; 17.03.2009 at 03:03 PM.

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

    Default

    • Windows Key + R
    • CMD
    • Enter

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
  •