Batch convert png to jpeg with custom background

How to batch convert pngs to jpegs, but using custom background ? Is there any action or plugin for that ?

Image Processor in conjunction with an Action (that places and positions a background for example) should suffice.

Similar Messages

  • I created a photo book in Photoshop elements 11 that contains png files with the invisible backgrounds.  When I export the book to a jpg or a pdf, the png files appear with white backgrounds.

    I created a photo book in Photoshop elements 11 that contains png files with the invisible backgrounds.  When I export the book to a jpg or a pdf, the png files appear with white backgrounds.  Any suggestions on how to fix this? 

    jpg and pdf formats don't support transparency. You need to use a format such as tif, png or psd that does.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Batch convert files to 4x6 with copyright?

    How do you batch convert files to 4x6 with copyright?

    How do you batch convert files to 4x6 with copyright?
    You need to create an action in PS (include a conditional option for both landscape and portrait). With this action ready you can select the files in Bridge, use menu Tools, Photoshop / Batch and inhere choose the action you created and let it run.
    For the action itself you might want to visit the PS forum for more details, it is not easy to create a watermark on each image but possible. Just try it and explore.

  • Batch convert Raw to jpg with EXIF data

    I would like to batch convert RAW images files to jpeg format while preserving the EXIF data.  Is there any way to do this with the built-in apps in OS X Mavericks?
    This used to be possible with Preview.app using the "Export Selected Images..." command.  However, as of Mavericks, that command does not correctly copy EXIF data for the individual images.  Instead, the EXIF data for the first image is used in all of the exported images. So Preview.app is now pretty much useless for converting batches of RAW files.
    Can anyone point me to a workaround in Preview.app, or an alternative way to do this conversion in Mavericks?
    I should add that I don't want to import all my images into iPhoto.  I prefer to use regular folders to organize my images rather than the walled library that iPhoto creates.

    Andrew Shalit wrote:
    I used iPhoto for many years and found it to be cumbersome and more trouble than it was worth.  It did not let me manage, organize, rate, tag, and edit my photos in any way approaching convenience. 
    Hate to say this for the 3rd time, but use Canon's "DPP" (Digital Photo Professional).
    With it you can "manage, organize, rate, tag, and edit [your] photos" as well as batch convert to jpeg or othet formats.

  • How to convert .pngs to jpeg....

    Ok i have about 70 imgs i brought into the library in Flash CS5. Now the SWF is to big bc there all .png files, i tried to go into properties and change there .png to .jpeg but its a very looooong process, is there any way to highlight them all and either change them but updating the .pngs to .jpeg files ?
    Thanks

    Hi bob, This is a feature that's available in PShop and i have used that many times, i want to take the images in Flash and convert them to jpeg, such as if i go to an image in the library and right click (Google what right clicking is you MAC users...ahem ) and i have options to update or hit properties. I want to update and take that .png file that's in the library and update with an.jpg file (one.png > one.jpeg) but now that im going into it more im thinking i have to redo it because what im asking defines some rules..

  • PNGs showing up with white backgrounds

    Hello.
    This is very odd as this has never happened to any of my other files that use the same buttons. My pngs that are saved with transparent backgrounds are now showing up with white backgrounds. They also only show up with white backgrounds when you do one of the following:
    Press F8 to preview the file
    Publish the file
    Has anyone else ever had a similar experience and/or figured out a solution? I have searched the discussion board for similiar experiences...I found one...http://forums.adobe.com/thread/86092. I'm going to play around with "interlace" in Photoshop so I'll keep my fingers crossed. I have also ensured my graphics are smaller than the background--one graphic is an 8kb file and the other is a 13kb file and my background is 112 kb.
    Any solutions and/or thoughts are greatly appreciated.

    hello nyartist, this has nothing to do with quirks mode - it's just the default way that standalone image files are displayed in firefox...
    https://msujaws.wordpress.com/2012/01/04/blinded-by-the-light-an-improved-image-viewing-experience-in-firefox/

  • How to read and write Png and jpeg with  Alpha

    Hi
    I have trouble reading and writeing PNG and JPEGs that have an alpha channel (for transparency).
    Reading works, if i use Toolkit.getImage() method, but works NOT if i use ImageIO.read() method.
    Writing does NOT work using ImageIO.write()method. Instead i got a "java.lang.UnsupportedOperationException: Unsupported write variant!"
    See Test class and commandline output below:
    /****************START*****************************/
    package de.multivisual.bodo.test;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.File;
    import java.net.URL;
    import java.util.Iterator;
    import javax.imageio.*;
    import javax.imageio.metadata.IIOMetadata;
    import javax.imageio.stream.ImageInputStream;
    import javax.imageio.stream.ImageOutputStream;
    public class AlphaChannelTest implements ImageObserver {
      Toolkit toolkit;
      Image img;
      public AlphaChannelTest() {
        super();
        toolkit = Toolkit.getDefaultToolkit();
        URL url =
          AlphaChannelTest.class.getResource(
            "/de/multivisual/bodo/test/" + "alphatest.png");
        img = toolkit.getImage(url);
        try {
          ImageInputStream imageInput =
            ImageIO.createImageInputStream(url.openStream());
          Iterator it = ImageIO.getImageReaders(imageInput);
          ImageReader reader = null;
          while (it.hasNext()) {
            reader = (ImageReader) it.next();
            System.out.println(reader.toString());
          reader.setInput(imageInput);
          ImageReadParam param = reader.getDefaultReadParam();
          BufferedImage bimg = reader.read(0, param);
          SampleModel samMod = bimg.getSampleModel();
          ColorModel colMod =       bimg.getColorModel();
          String[] propNames = bimg.getPropertyNames();
          IIOMetadata meta = reader.getImageMetadata(0);
          System.err.println("\n*****test image that was read using new Jdk 1.4 ImageIO.read() method");
          alphaTest(bimg);
        } catch (Exception e) {
          //e.printStackTrace();
        if (img != null)
          toolkit.prepareImage(img, -1, -1, this);
        try {
          synchronized (this) {
            System.out.println("wait");
            this.wait();
        } catch (Exception e) {
          e.printStackTrace();
        System.out.println("end");
      public void alphaTest(BufferedImage bi) {
        Raster raster = bi.getData();
        float[] sample = null;
        System.out.println("raster :");
        for (int y = 0; y < raster.getHeight(); y++) {
          for (int x = 0; x < raster.getWidth(); x++) {
            sample = raster.getPixel(x, y, sample);
            System.out.print("(");
            for (int i = 0; i < sample.length; i++) {
              System.out.print(":" + sample);
    System.out.print(")");
    System.out.println();
    Raster araster = bi.getAlphaRaster();
    if (araster == null){
         System.err.println("there is no Alpha channel!!!!!!!!!");
         return ;
    } else {
         System.out.println("Alpha channel found !");
    float[] asample = null;
    System.out.println("raster alpha:");
    for (int y = 0; y < araster.getHeight(); y++) {
    for (int x = 0; x < araster.getWidth(); x++) {
    asample = araster.getPixel(x, y, asample);
    for (int i = 0; i < asample.length; i++) {
    System.out.print(" " + asample[i]);
    System.out.println();
    String format ="PNG";
    System.out.println("##########Test Writing using new JDK1.4.1 ImageIO:");
    Iterator writers = ImageIO.getImageWritersByFormatName(format);
    ImageWriter writer = (ImageWriter) writers.next();
    ImageWriteParam param = writer.getDefaultWriteParam();
    ImageTypeSpecifier imTy = param.getDestinationType();
    ImageTypeSpecifier imTySp =
    ImageTypeSpecifier.createFromRenderedImage(bi);
    param.setDestinationType(imTySp);
    File f = new File("c:/tmp/myimage."+format);
    try {
    ImageOutputStream ios = ImageIO.createImageOutputStream(f);
    writer.setOutput(ios);
    writer.writeInsert(0, new IIOImage(bi, null, null), param);
    } catch (Exception e) {
         System.err.println("could not write "+format+" file with alpha channel !");
    e.printStackTrace();
    public boolean imageUpdate(
    Image img,
    int infoflags,
    int x,
    int y,
    int width,
    int height) {
    if ((toolkit.checkImage(img, -1, -1, null)
    & (ImageObserver.HEIGHT | ImageObserver.WIDTH | ImageObserver.ALLBITS))
    == 35) {
    int iw = img.getWidth(this);
    int ih = img.getHeight(this);
    BufferedImage bi = new BufferedImage(iw, ih, BufferedImage.TYPE_4BYTE_ABGR);
    Graphics2D big = bi.createGraphics();
    big.drawImage(img, 0, 0, this);
    System.err.println("+++++test image that was read using old Toolkti.getImage method");
    alphaTest(bi);
    synchronized (this) {
    this.notifyAll();
    return false;
    return true; // image is not yet completely loaded into memory
    public static void main(String[] args) {
    //     BufferedImage image = new
    // BufferedImage();
    new AlphaChannelTest();
    /*************************END********************/
    The commandline looks like this:
    [i]
    com.sun.imageio.plugins.png.PNGImageReader@d1fa5
    *****test image that was read using new Jdk 1.4 ImageIO.read() method
    raster :
    there is no Alpha channel!!!!!!!!!
    wait
    +++++test image that was read using old Toolkti.getImage method
    raster :
    Alpha channel found !
    raster alpha:
    ##########Test Writing using new JDK1.4.1 ImageIO:
    could not write PNG file with alpha channel !
    java.lang.UnsupportedOperationException: Unsupported write variant!
         at javax.imageio.ImageWriter.unsupported(ImageWriter.java:600)
         at javax.imageio.ImageWriter.writeInsert(ImageWriter.java:973)
         at de.multivisual.bodo.test.AlphaChannelTest.alphaTest(AlphaChannelTest.java:113)
         at de.multivisual.bodo.test.AlphaChannelTest.imageUpdate(AlphaChannelTest.java:135)
         at sun.awt.image.ImageWatched.newInfo(ImageWatched.java:55)
         at sun.awt.image.ImageRepresentation.imageComplete(ImageRepresentation.java:636)
         at sun.awt.image.ImageDecoder.imageComplete(ImageDecoder.java:135)
         at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:511)
         at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:257)
         at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:168)
         at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    end

    in between i found out that the my png and jpeg test images did not have an alpha channel, since the tool i used to create them, did not write the alpha channel to disk.
    if i use png with alpha channel, then the read works correktly with ImageIO.read()
    however the read problem still remains for gifs and the write does not work for gifs and neither for pngs.
    whether jpegs can be read with alphachannel i don't know since i don't have a tool to create jpeg with alpha channel. (at least gimp and corel9 are not able to )
    and it is not possible to write the previous read png with alpha channel back as and jpeg with alpha channel

  • Anything out there to batch convert png to svg

    Hi there
    I really like the move towards SVG but the thought of running each and every icon through a program is daunting - is there any program out there that would bath convert PNG files to SVG while retaining their dimensions - i guess there probably isn't but it doesn't harm to ask.
    Cheers

    I'm sure there is other software for what you are looking for. This is the reason I asked what is your current device so I can see what I can find out for you. I did a google seach and found this results
    http://www.google.com/search?hl=en&rlz=1C1CHMI_enUS302US342&q="City+Guides"+software+for+palm+TX&aq=...
    This might not be exactly what you wanted but there is software still out there for it.

  • Converting TIFF to JPEG with sips, then import into iPhoto problems

    I am cataloguing a box of slides and negatives for my family. The scanner generates huge TIFF files (on purpose), and I have an Applescript that then uses sips to copy them into low quality JPEG files using this command:
    do shell script ("sips -s format jpeg -s formatOptions low -s description " & "'" & "Original path: " & (POSIX path of an_image) & "'" & space & (POSIX path of an_image) & " --out " & new_file)
    where an_image is the source file, and new_file is the path and name of the converted image.
    This way, I can save the original file path as the image's description while shrinking the file size to speed up later importing into iPhoto. As part of the iPhoto import, that description from the metadata is placed in the on screen comment section for each image.
    This works fine to do the initial shrinking, but less than half of the resulting jpeg files can subsequently be imported into iPhoto. I get this error:
    The following file could not be imported. (The file is in an unrecognizable format.)
    And yet, Preview and Safari both open the files with no problems.
    Is there anything else I need to set when doing the conversion with sips to make it easier for iPhoto to recognize the converted files?
    I have over 1000 images, and anticipate a final total of about 2500 when I am done. These are images of myself and my siblings from the 1960s and 1970s, and my idea is to scan them all at high resolution, and use the converted, smaller files for iPhoto for keywording and Faces to get them organized, while retaining the paths to the original images. Any commentary is appreciated.

    I have uploaded one of the bad JPG files here:
    www.mrcodeboy.com/smith/Try.jpg
    I tried examining the metadata with exiftool, Image Events, and mdls, but there are a number of differences between the TIFF metadata and the JPEG metadata structures. I found no obvious differences, but this is a good idea, and I will continue to examine those closely for clues.
    *EDIT*
    I downloaded the bad JPEG above onto a different machine; it still does not import into iPhoto. However, by invoking sips on that file to convert it back to a TIFF file thusly:
    sips -s format tiff Try.jpg --out TryTF.tif
    it imported just fine. There has to be some sort of parameter that is NOT being addressed in the conversion from TIFF to JPEG that is somehow messing this up, yet is preserved when the file is re-written as a TIFF.
    Message was edited by: casdvm

  • How do I convert Raw to Jpeg with Elements 9?

    I just installed Elements 9. I set my camera Panasonic G2 to Raw and Standard and could not find the Raw with Elements open, I could only find them in the DCIM folder and send them to My Documents. There has to be an easier way.
    My other question, after I made some adjustments in Raw, I wanted to convert and save them in Jpeg to do further adjustments in PSE.  There doesn't seem be to be this option to do that. I have Silkypix, which works fine, but would prefer to do everything with the same software.Raw was the main reason I bought PSE 9.

    Camera Raw Files ~
    http://help.adobe.com/en_US/photoshopelements/using/WS9675D47A-589F-428c-8FDB-7F20096EE811 _WIN.html
    File > Save for Web dialogue ~
    http://help.adobe.com/en_US/photoshopelements/using/WSCC0C7B37-3AD2-43ca-9BF0-677BFC551D97 _WIN.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Converting pdf into jpeg with Pages

    I took some scrapbook digital images and dragged them into pages. I then added pictures and text box. I used to go to Print and then save as jpeg but it won't allow me. I keep getting an error message and have no idea what it means. Finished project opens in Preview.
    The action “Copy Finder Items” encountered an error.Check the actionʼs properties and try running the workflow again.
    I just upgraded to Lion today.

    If you want to convert a whole page:
    Press command-P to open the Print dialogue.
    Click the PDF button at the lower left and choose Save PDF.
    In the Finder, locate the saved file, Right click on it's icon and choose Open with... Preview.
    Save or Export the Preview document as a jpeg.
    Alternate method (for less than a full page, also works for full page)
    Select all of the objects on the page.
    Go Arrange > Group
    Copy
    Launch Preview, then go File > New from Clipboard (or press command-N)
    Save or Export the Preview document as a jpeg.
    These methods work in previous versions of Mac OS X. I'm unable to test them in Lion.
    Regards,
    Barry

  • Applescript batch convert DOC to TXT with line breaks

    Hey guys, I recently got stuck at work having to convert over 1,000 DOC files to TXT files with line breaks.
    I've found online several different Applescripts that work great at converting DOC files to TXT files but I can't find one that will do the TXT files with line breaks.
    If anyone has a script that can do this I would be crazy grateful.
    Converting these one by one with Word is taking forever to do.
    Thanks for any help you can give me.

    Excuse me for a moment for speaking harshly to you.  You are causing yourself utterly unnecessary headaches by not being clear with us and not stopping to think, and it's high time you learned that that is an incorrect way to approach anything on a computer.  Consider:
    you don't know what you're doing (in the sense that you don't know what 'text with line breaks' means)
    you don't know (or at least haven't explained) why this needs to be done
    (therefore) you don't know if this needs to be done at all
    (and yet) you are doing it anyway, in a mindlessly repetitive fashion, driving yourself batty and irritating me
    At least for the time being, humans are the ones who think and computers the ones who grunt away mindlessly; try to reverse those roles and everything gets done badly and slowly. Stop, look, think, plan ahead - that's what your brain is good at if you give it a chance.
    Now, as far as I can tell from poking around the web, 'text only with line breaks' means that the document  is saved as a plain-text file, but with a carriage return linefeed combination (CR/LF) as a paragraph delimiter (this is a Windows format - unix uses a single linefeed, Macs might use a single carriage return or a single linefeed). I don't know why anyone would want that format - most software will convert that seamlessly (or at least can be told to convert that).  Are you trying to feed this into some dinosaur of a database?  At any rate, if that's what you want, this script should do it. caution, this script overwrites the original files; I suggest you make a copy of one or two files in a separate folder, and run the script on them first to check that the output works for whatever reason you're doing this:
    set baseFolder to choose folder with prompt "Choose a folder of files to process"
    tell application "Finder"
              set fileList to (every file of baseFolder whose name extension is "txt") as alias list
    end tell
    repeat with thisFile in fileList
              set itsText to read thisFile
              if (offset of (return & linefeed) in itsText) = 0 then
      -- file is not already formatted with CR/LF, so convert
                        set itsChunks to tid(itsText, {return, linefeed})
                        set itsNewText to tid(itsChunks, return & linefeed)
                        set fp to open for access thisFile with write permission
                        set eof of fp to 0
      write itsNewText to fp as text
      close access fp
              end if
    end repeat
    on tid(input, delim)
      -- handler for text items conversions
              set {oldTID, my text item delimiters} to {my text item delimiters, delim}
              if class of input is list then
                        set output to input as text
              else
                        set output to text items of input
              end if
              set my text item delimiters to oldTID
              return output
    end tid

  • How to batch convert .pages to .pdf  with automator & applescript

    Hi all,
    As the title states, I want to drag and drop one (or a whole stack) of .pages documents onto an automator app, and have it pump out .pdfs...
    Here is my code, it crashes with an error, but I'm really new to this so I don't really know what's going wrong.
    on run {input, parameters}
      tell application "Finder"
      repeat with aFile in input
      if class of (item aFile) is not folder then
      set {tName, fileExt} to {name, name extension} of aFile
      if fileExt is not missing value and fileExt is not "" then
      set tName to "PDFs/" & (text 1 thru -((count fileExt) + 2) of tName) & ".pdf"
      tell (get container of aFile)
      if not (exists folder "PDFs") then make new folder at it with properties {name:"PDFs"}
      tell application "Pages"
      set mydoc to open file aFile -- open input file in Pages
      export mydoc to file tName as PDF --do the exporting
      close mydoc saving no -- close the original file without saving
      end tell
      end tell
      end if
      end if
      end repeat
      end tell
    end run

    mirror318 wrote:
    One more thing, is it easy to change that script so that the output is put in a subfolder called "PDFs" (the folder would go in wherever the .pages file was)?
    This should save to a subfolder called "PDFs" in the Folder where the pages file is located:
    on open fs
      my proceed:fs
    end open
    on proceed:fs
      tell application "Finder"
      repeat with i from 1 to (get count of items in fs)
      if (name extension of item i of fs) is "pages" then
      --set PDFfile to text 1 thru -7 of (item i of fs as text) & ".pdf"
      set PDFfile to name of (item i of fs)
      set PDFfile to text 1 thru -7 of PDFfile & ".pdf"
      if not (exists (parent of (item i of fs) as text) & "PDFs") then
      make new folder at (parent of (item i of fs)) with properties {name:"PDFs"}
      end if
      set PDFfile to (parent of (item i of fs) as text) & "PDFs:" & PDFfile as text
      tell application "Pages"
      set mydoc to open (item i of fs) -- open input file in Pages 
      export mydoc to file PDFfile as PDF --do the exporting 
      close mydoc saving no -- close the original file without saving 
      end tell
      end if
      end repeat
      end tell
    end proceed:

  • Applescript batch convert .RTF to .TXT with line breaks

    Hey guys, looking for help with an Applescript that can change a .RTF to a .TXT with line breaks.
    I have an Applescript that will go from a .DOC to a plain .TXT but haven't found anything to get from the .RTF to a .TXT wth line breaks.
    I'm doing this for Avid's Script Sync.
    Thanks for the help.

    Ok, you obviously mean something specific by "line breaks" that you're not being clear about.  are you looking for a specific kind of line ending: Mac style carriage return (CR) ending? Windows style carriage return line feed (CR/LF) endings, unix style line feed (LF) endings?  textutil provides LF by default (it's a unix utility after all); if you need a different line ending you'll need to pipe it through tr or modify it via applescript after you've done the conversion

  • How do I Batch Convert JPEG to PNG files?

    Any idea how I would convert a large number of jpeg's to png files in Photoshop CC?

    You could do it like this: http://www.santoshgs.com/blog/189/how-to-batch-convert-png-to-jpeg-using-photoshop-cs2/
    But can I be honest? I'd do that with a more efficient and far faster conversion utility like IrfanView. Photoshop is incredibly slow for this type of work. For example, I did a quick test to demonstrate the difference in performance:
    folder with 10 images in jpg format, 5600px by 5600px. Simple jpg to png batch.
    Photoshop: over six minutes.
    IrfanView: one minute and 40 seconds.
    That's a rather big difference - and with large numbers of images I just do not have the time to wait for Photoshop to finish the job. It's too slow.
    Another issue is that during the conversion process Photoshop cannot be used - while with a simple conversion utility you can leave it running in the background, and continue to use PS for other work if required. This matters if you have hundreds of images to convert.
    Btw, Irfanview (windows only) is free to download @ http://www.irfanview.com/
    The batch processing you can find under File-->Batch Conversion <b>
    ImageMagick is also free and open source. It is a command line tool, and easy to use for conversions.Will also work on a mac. But it is much slower than IrfanView, a tad faster than PS.
    http://www.imagemagick.org/script/convert.php
    http://www.ofzenandcomputing.com/batch-convert-image-formats-imagemagick/

Maybe you are looking for

  • Multiple Document Types For Purchase Requisition For Different Order Types

    Dear SAP Gurus, I want to have different document types of Purchase Requisition for different Order types. For Example: for Order Type ZT01- Document Type used should be YR01 for Order Type YA01- Document Type used should be ZR01 How could this be ac

  • What is a cloned DataSource and when do we need it?

    Hi, Could anybody tell me what a cloned DataSource is and when we need it? How to make a clone from a datasource? Thanks

  • Ios 8.0.1 bricked my iPhone 6 plus

    Can anyone help me out fixing this? I tried downloading is ipsw for 8.0.2 which gets stuck as well a few minutes into the install and its been hours.

  • Live 24bit External Power Prob

    I have this connected to my laptop but I repeatedly unplugged and plugged it in because I travel with my laptop. It worked fine for about 3 months and now when I plug it in, it wont power on. I have tried un-installing and re-installing all the softw

  • Computer wont pass the start up Windows screen

    I have an HP G62 laptop that i bought four n half years ago.I m using it for my schoolwork but now when i start it,it doesnt go past the Windows ico.I have tried safe mode,it didnt work and it failed the start up and run-in tests.Is there a way i can