Export selected item as PNG with Alpha

Hello.
I'm building game graphics in Illustrator.  I have thousands of individual sprites to export, up until now I've been copying and pasting in Photoshop and exporting through there, but that is tedious and slow.  Inkscape has an option to export the selected object only as a PNG with alpha, pixel dimensions are equal to the current selection size.  Perfect.  But that means using Inkscape and quite frankly it's horrible to use.
I'm sure this must be possible, but for the life of me I can't find a working method.  I found Windows scripts for CS3, but nothing for CS5 on Mac.
Can anyone help?

Should not be too hard to adapt the script for Mac, assuming it is JavaScript, not VBScript. If you can point to the source, someone might be able to fix it for you (also post in the scripting sub-forum). Other than that you can of course always make use of the slice tool and fit the slices to the objects, then export the slices.
Mylenium

Similar Messages

  • Why can't I export a 24 bit PNG with alpha transparency?

    I have just upgraded my Macromedia Studio 8 to Adobe CS3, and
    it seems that I still can't export a 24 bit png with transparency
    from Fireworks (Photoshop can do it, but it's just not suited for
    volume graphic production). Anyone know something I don't, or can
    someone at least explain why I can have alpha transparency on 8 bit
    and 32 bit, but not 24 bit pngs? Currently, I'm planning to export
    everything from Fireworks, then batch-process through Photoshop to
    reduce from 32 bit to 24 bit, which is just... gah! Words fail
    me.

    Kathleen13 wrote:
    > I have just upgraded my Macromedia Studio 8 to Adobe
    CS3, and it seems that I
    > still can't export a 24 bit png with transparency from
    Fireworks (Photoshop can
    > do it, but it's just not suited for volume graphic
    production). Anyone know
    > something I don't, or can someone at least explain why I
    can have alpha
    > transparency on 8 bit and 32 bit, but not 24 bit pngs?
    Currently, I'm planning
    > to export everything from Fireworks, then batch-process
    through Photoshop to
    > reduce from 32 bit to 24 bit, which is just... gah!
    Words fail me.
    >
    If I'm correct, 8-bit png supports index transparency just
    like GIF's
    do. 32-bit png's support alpha channel transparency, so you
    can get
    variable or partial transparency in a full color image(8 bits
    for each
    color and 8 bits for an alpha channel) and 24-bit png's are
    similar
    jpegs, only you get lossless compression and no user-defined
    settings.
    So essentially, when you export a 32-bit png file you are
    exporting a 24
    bit color image with an 8-bit alpha channel.
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    Extending Knowledge, Daily
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    news://forums.macromedia.com/macromedia.fireworks
    news://forums.macromedia.com/macromedia.dreamweaver

  • FCPX is doing funny things to PNGs with alpha channel.

    I am currently working on a video that requires lots of compositing using PNGs with transparency. Everything was fine, until I decided to render. Then this happened:
    Some of the PNGs turned into a bunch of pink blocks, as if the file were corrupted. It even happened with a PNG with no transparency-=
    I've tried:
    Trashing Render Files
    Changing Alpha Handling
    Export without Render
    Using "Add" as the Blend Mode.
    What can I do?

    I suggest you begin by deleting preferences, as so many weird things seem to be caused by corrupt preferences.
    You can also try creating a brand new project, composite a few pngs and check if the weirdness also occur there; if it does not, then maybe there was some corruption in the project, in which case selecting everything and pasting into a new project may cure it.

  • How to import a PNG with alpha?

    I have some images I made in photoshop (on my PC) that have a transparent background. I exported them as a 24 bit PNG with a alpha channel. Importing to my ipad through itunes as a photo seems to loose the alpha channel. How do I use alpha in Keynote? This is a very basic function - what am I doing wrong?

    First off, Thank you to Iwell, skers1 and Kyn Drake for your help. I also found an unlikely work-around since posting my question. It's an app called myPhone Desktop (universal binary). It will let you copy a phone #, text, url or image from your desktop (pc/mac) and sends that to your iPhone/iPad/iTouch! Best of all, it supports image alpha! Very quick and simple. Here is the link http://www.myphonedesktop.com

  • OUTPUTING AS PNG WITH ALPHA??

    Hello to everyone...
    I hope someone can give helping hand...
    I'm working on a project where I need to output single frame files as PNG's with Alpha channel.  So far, I've used the "save frame as" function and then selected "file".  In the Render Queue under output module, I selected PNG sequence.  In the output settings under video output, I selected RGB + Alpha and Millions of colors +   I also selected "interlaced" under format options as the files are for web.  But when I open the single frame in Photoshop, the ALPHA channel is not there.
    Can someone tell me what I'm doing wrong?  I know that PNG's can be saved with an Alpha I just can't seem to make it work.
    Please help!
    Thanks
    Bgub.

    Define work area if rendering in portions, then go  "add to render queue" instead of "save frame" and modify output module to PNG Sequence RGB+Alpha, Millions of Colors+
    PNG+Alpha still work here for me in CS3. Maybe Adobe removed support for outputting PNG Still Image Seuquence with Tranparency. I would not wonder because they often toss functionalities, only god knows why they're doing it.
    Otherwise use TIFF Sequence

  • Print or export runtime created vector graphics with alpha values intact

    I want to be able to save the dynamically generated state of a swf as a vector image. I know I can right click on the swf and print to a pdf via the Adobe pdf print driver. This works well but all alpha values are lost. Does anyone know how to print to a pdf or any other vector format and retain the alpha values? The pdf format clearly supports it as I can save objects with alpha values from Illustrator as a pdf no problem.
    Any alternative solution that achives this result would be welcome e.g. save runtime swf via actionscript to swf or Illustrator format etc.
    thanks

    Hi All,
    Flash Pro CC 2014 (v14.0.0.110) is now available for download via the Creative Cloud App and Adobe website.
    We have added SVG Export feature to Flash Pro with this new release. You will now be able to export out vector content from the selected frame as an SVG image that can be opened directly in a Browser and even imported in Adobe Illustrator.
    SVG Export option can be accessed via the Publish Settings as well as via File Menu > Export > Export Image option.
    Along with this, we have added several new features with this release. Complete list is available at these links:
    Overview:         https://www.adobe.com/in/products/flash.html
    Whats new:      https://helpx.adobe.com/flash/using/whats-new.html
    Release Notes: https://helpx.adobe.com/flash/release-note/flash-professional-cc-2014.html
    Thanks,
    Nipun

  • PNG with Alpha into FCP..

    Hi.
    I have a 15 minute movie that I've edited in FCP7.
    The transitions and text are animated on After Effects, exported in 1920x1080 Quicktime PNG codec, because of the need of an alpha channel for transparency.
    I import it into a timeline that is 1920x1080 Apple ProRes 422 configured, because the timeline is mostly from 7D and 5D footage converted from MPEG Streamclip.
    The result I get is that the text and lines from the PNG-codec .mov have some "cracks", not near as smooth as in the PNG compression. The example is below:
    PNG codec mov exported from AE:
    http://oi42.tinypic.com/65ww1h.jpg
    Inside FCP and FCP-exported movie:
    http://oi43.tinypic.com/290ykqr.jpg
    How can I get Final Cut to export or interpret the footage correctly?
    Or should I export it differently from AE?
    Thanks!

    Use your editing application to change the field order to None.  It's  easy to do in the FCP Browser.  Just look for the field order column and change it.  Done.

  • FlashPro CS6 BUG - selecting items in library with textfields - fixed in latest 5.5.1, back in CS6!

    This bug was removed from updated CS5.5, and it is back in it's extreme annoyance in CS6.
    Whenever I select in the library a symbol, which contains textfields who's font is set to a custom font (i.e., Text-Project, linked to Verdana), for EACH of the textfields in the selected item, and in all containing items, the output window traces:
    "Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts."
    On certain items, it gets traced 20 or 30 times, and it slows down library selection incredibly, making the library almost unusable.

    No,
    I just select an item in the library, which contains textfields with custom font set (that is when you name a font yourself).
    Flash freezes, for some complex items it freezes up to 60 seconds, and when it comes back, in the output window you have one message for each textfield, also in nested clips.
    For complex clips now I go to make a cup of coffee if by mistake I click on them in the library

  • Export selected items on each page in InDesign to JPEG

    Hi All,
    I have InDesign CS5.5. I have a document with more than 50 pages and each page has unique image and the description for image.
    I need to export each page as JPEG. but i don't want to export full page. i need only the items on each page. So i go to each page and select all the items and export. while exporting i use the same name of the image used in each page.
    I tried writing a script but it exports only the active page. i do not know how to navigate to the next page and export.
    is some one can help.
    below is my script.
    var myDoc = app.activeDocument;
    var myNumPages = myDoc.pages.length;  //get the number of pages
    var myFilePath = myDoc.filePath; //get the file path
    var myRectangle = app.activeWindow.activePage.allGraphics; //get the graphics of the active page
    var myPageName = app.activeWindow.activePage.name; //get the page name.
               if(myRectangle.length >1)
                        alert("the page has more than one image. Delete the other image to export");
                        exit();
    var myImageName = myRectangle[0].itemLink.name; //get the name of the image
    app.select(NothingEnum.NOTHING);
    for(var i=0; i<myNumPages; i++)
              app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
              app.jpegExportPreferences.exportResolution = 300;
              app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.exportRange;
              app.jpegExportPreferences.pageString = myPageName;
              mySelectedItems();
    function mySelectedItems()
              var myObj = new Array;
              myObj = app.activeWindow.activePage.pageItems; 
              try
                                  app.activeWindow.activePage.groups.add(myObj);
                                  catch(e)
              app.select(app.activeWindow.activePage.allPageItems);
              app.selection[0].exportFile(ExportFormat.JPG, File(myFilePath+"/"+myImageName+".JPEG"), false);

    export all image of each page try like this
    var myDoc = app.activeDocument;
    var myFolder = myDoc.filePath;
    var myImage = myDoc.allGraphics;
    for (var i=0; myImage.length>i; i++){
        app.select(myImage[i]);
        var MyImageNmae  = myImage[i].itemLink.name;
        app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
        app.jpegExportPreferences.exportResolution = 300;
           app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
        alert(myImage[i].itemLink.name)

  • How to export/share to a format with alpha channel ?

    Hi there,
    I have  a video clip recorded in greenscreen.
    I have applied some keyer effects & the background is now excellent bcos it is transparent.
    But when I export it, the resultant file shows the back as a solid color, it ain't transparent anymore !
    How do I get a file with the background transparent ?
    Thank you

    Tom Wolsky wrote:
    Export Movie and set the codec to ProRes 4444.
    ThanksTom, it worked !
    Really appreciate it !
    Btw, just a matter of interest,  what dooes those numbers mean ?
    Cheers

  • PNG 8-bit Indexed With Alpha

    Hello,
    I need to write PNG images in 8-bit indexed mode (
    Color Type 3... ?) with an alpha channel. I believe that the
    only way to do this is by putting the Alpha (or Matte) information
    into a PNG tRNS Chunk. I have heard that Fireworks can do this, but
    have not yet been successful. Please tell me how.
    BTW, I can write PNG files in 32-bit ARGB mode, but this is
    unacceptible because the compression is lossless and the files
    become huge. XnView supports this as well. Photoshop will not allow
    me to write PNG with Alpha. Can Fireworks help me? How?
    - Thank you, David Manpearl
    <dmanpearl_at_imatte_dot_com>

    DavidManpearl wrote:
    > Hello Linda,
    >
    > Thank you very much for your suggestion of making one of
    the image colors
    > represent transparent matte, as in a GIF format image.
    > Unfortunately, this cannot work for me as I need color
    information for all of
    > the pixels in the image, regardless of the setting of
    the matte, or alpha
    > channel value. Perhaps this is impossible for PNG with
    indexed color? The
    > answer to this question is what I hope to determine one
    way or the other
    > through this forum.
    Why not just export in 8-bit PNG format, with no
    transparency, and see
    if it works?
    Linda Rathgeber ACE ::: PVII
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    Adobe Community Expert - Fireworks
    Design Aid Kits:
    http://www.webdevbiz.com/pwf/index.cfm

  • FLV files exported with Alpha have extra frames after end of sequence.

    Sequence is 588w x 486h Animation+ codec, talent chroma-key (Conduit) on track 2 with no background on track 1. Flash 8 is installed. When I export using the QuickTime Flash export component using On2 VP6 with Alpha Channel settings, the resulting FLV has additional frames up to around 20 seconds for a 2 minute sequence. These additional frames are a freeze of the last frame in the sequence. I tried several different sequence codecs/Spark codec with same result. Even setting an In and Out on the sequence does not help.
    One symptom I have noticed, is that when I click in the timeline beyond the last frame of video, I still see the last frame of video in the Canvas (But not in the BlackMagic video card output). Normally I would see black or checkerboard.
    Anybody heard of any conflicts with the Flash Export component dircect from the timeline or via a batch export.
    Exporting an Item Settings QuickTime (Animation+) files and then using Flash Encoder does work, but I am trying to avoid the extra steps. (250 sequences to export)
    I suspect I have an issue with the export component, but I wanted to see if anybody else has experiences this before I reinstall FCP and Flash software.

    I have found what I believe the cause of the extra frames issue here, so I thought I would post it for others.
    This appears to be caused by a problem between the Adobe FLV Export Component and QuickTime 7.2.  Adobe's website says that Flash encoder has issues with non 44.1 kHz audio.  Changing the sequence settings to 44.1 and rendering the audio solves the problem and FLV files exported from the timeline or via batch export are the correct length.
    Exporting FLV files using either Spark or On2 VP6 with alpha, used to be a breeze with awesome results.  I do this all day to support our Flash developers.  The audio issue is easy to work around, but I also get random errors in the alpha channel of these movies now.  These single frame errors appear as black flashes.  There is nothing in the timeline that would appear to cause this.  Re-exporting sometimes fixes it, or simply moves the error somewhere else in the timeline.    This may also be related to QuickTime 7.2, but I don't know.
    If anyone has experience these flashes in the alpha channel of exported FLV files please let me know how you resolved it.  This is a major productivity killer.
    Thanks....

  • ImageIO PNG Writing Slow With Alpha Channel

    I'm writing a project that generates images with alpha channels, which I want to save in PNG format. Currently I'm using javax.ImageIO to do this, using statements such as:
    ImageIO.write(image, "png", file);
    I'm using JDK 1.5.0_06, on Windows XP.
    The problem is that writing PNG files is very slow. It can take 9 or 10 seconds to write a 640x512 pixel image, ending up at around 300kb! I have read endless documentation and forum threads today, some of which detail similar problems. This would be an example:
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6215304|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6215304]
    This surely must be resolvable, but after much searching I've yet to find a solution. If it makes any difference, I ONLY want to write png image, and ONLY with an alpha channel (not ever without), in case there are optimisations that that makes possible.
    If anyone can tell me how to address this problem, I'd be very grateful.
    Many thanks, Robert Redwood.

    This isn't a solution, but rather a refinement of the issue.
    Some of the sources I was reading were implying that the long save time might be due to a CPU heavy conversion process that had to take place before the BufferedImage could be saved. I decided to investigate:
    I loaded back in one of the (slowly) saved PNG images using ImageIO.read(file). Sure enough, the BufferedImage returned differed from the BufferedImage I had created. The biggest difference was the color model, which was DirectColorModel on the image I was generating, and was ComponentColorModel on the image I was loading back in.
    So I decided to manually convert the image to be the same as how it seemed to end up anyway. I wrote the following code:
          * Takes a BufferedImage object, and if the color model is DirectColorModel,
          * converts it to be a ComponentColorModel suitable for fast PNG writing. If
          * the color model is any other color model than DirectColorModel, a
          * reference to the original image is simply returned.
          * @param source The source image.
          * @return The converted image.
         public static BufferedImage convertColorModelPNG(BufferedImage source)
              if (!(source.getColorModel() instanceof DirectColorModel))
                   return source;
              ICC_Profile newProfile = ICC_Profile.getInstance(ColorSpace.CS_sRGB);
              ICC_ColorSpace newSpace = new ICC_ColorSpace(newProfile);
              ComponentColorModel newModel = new ComponentColorModel(newSpace, true, false, ComponentColorModel.TRANSLUCENT, DataBuffer.TYPE_BYTE);
              PixelInterleavedSampleModel newSampleModel = new PixelInterleavedSampleModel(DataBuffer.TYPE_BYTE, source.getWidth(), source.getHeight(), 4, source.getWidth() * 4, new int[] { 0, 1, 2, 3 });
              DataBufferByte newDataBuffer = new DataBufferByte(source.getWidth() * source.getHeight() * 4);
              ByteInterleavedRaster newRaster = new ByteInterleavedRaster(newSampleModel, newDataBuffer, new Point(0, 0));
              BufferedImage dest = new BufferedImage(newModel, newRaster, false, new Hashtable());
              int[] srcData = ((DataBufferInt)source.getRaster().getDataBuffer()).getData();
              byte[] destData = newDataBuffer.getData();
              int j = 0;
              byte argb = 0;
              for (int i = 0; i < srcData.length; i++)
                   j = i * 4;
                   argb = (byte)(srcData[i] >> 24);
                   destData[j] = argb;
                   destData[j + 1] = 0;
                   destData[j + 2] = 0;
                   destData[j + 3] = 0;
              //Graphics2D g2 = dest.createGraphics();
              //g2.drawImage(source, 0, 0, null);
              //g2.dispose();
              return dest;
         }My apologies if that doesn't display correctly in the post.
    Basically, I create a BufferedImage the hard way, matching all the parameters of the image I get when I load in a PNG with alpha channel.
    The last bit, (for simplicity), just makes sure I copy over the alpha channel of old image to the new image, and assumes the color was black. This doesn't make any real speed difference.
    Now that runs lightning quick, but interestingly, see the bit I've commented out? The alternative to setting the ARGB values was to just draw the old image onto the new image. For a 640x512 image, this command (drawImage) took a whopping 36 SECONDS to complete! This may hint that the problem is to do with conversion.
    Anyhow, I got rather excited. The conversion went quickly. Here's the rub though, the image took 9 seconds to save using ImageIO.write, just the same as if I had never converted it. :(
    SOOOOOOOOOOOO... Why have I told you all this?
    Well, I guess I think it narrows dow the problem, but eliminates some solutions (to save people suggesting them).
    Bottom line, I still need to know why saving PNGs using ImageIO is so slow. Is there any other way to fix this, short of writing my own PNG writer, and indeed would THAT fix the issue?
    For the record, I have a piece of C code that does this in well under a second, so it can't JUST be a case of 'too much number-crunching'.
    I really would appreciate any help you can give on this. It's very frustrating.
    Thanks again. Robert Redwood.

  • 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

  • Export locally png with transparent background

    Is it possible to use Ps touch to remove the background from jpeg images and  export them locally as png with transparent background (reducing the size of the picture)? I would need to use this feature to create more keynotetouch-friendly images.

    Yes. That's possible. You can export a PSTouch project as png to the Camera Roll....and there are other channels as well where this is possible, like  "Share By E-mail" , "Send to iTunes" etc.
    Those options are accesible via the Share  menu (see attached screenshot) as part of the PSTouch project organizer

Maybe you are looking for

  • HT4623 How can I change my Icloud account on my ipad to the one I use on my iphone?

    How can I change my Icloud account on my ipad to the one I use on my iphone? For example on my iphone I log in with a yahoo account.  My ipod was originally set up with another e-mail account (which I can't remember the password).  I want to use the

  • Can I call getRequestDispatcher more than once?

    All, Does a servlet allows getRequestDispatcher to be called than once? This is what I'm trying to do. While the server is processing data, I want to forward the user to a temporary page to display "Processing Data". Once the server got the result, t

  • Hibernate not working on my MacBook Pro - it just turns off

    Ive had this machine for 2 years, and it has NEVER managed to hibernate. The battery runs for about an hour, then at about 20% left it just shuts down the machine, losing all my work. I have looked everywhere for an option to change this, but cant fi

  • Method add_function does not display icon in toolbar

    Hi, as described in the subject of this post I have a problem with the method add_function of class cl_salv_functions_list. My intend was to add several buttons in the toolbar of the ALV grid. Adding of these buttons is functional but there is no ico

  • No insp lot reqd. for customer return in warehouse

    There are 4 plants 3 manufacturing and 1 is warehouse (storing & distributing place) when retun sales order is created it can be created in any plant out of these 4. Mvt type is 655 in 3 plants insp is required,I don't want inspection in warehouse. w