Png transparency lost from PS to AI

When I use the slice tool in PS cs4 and save as a png the transparency is lost when dragging it into AI. The results were the same when I used either linked or unlinked.
When I use the "save as" in PS as a png the transparency is preserved.
Transparency is preserved in both cases. I drag the png into PS and the background is transparent, so the file is good.
The results were the same for png-8 and png-24.
Is there a setting in AI that toggles the transparency?

Sorry for the confusion. I am not dragging from ps to ai. I save the images as separate pngs, then drag the individual files to into AI.
The real issue stems from the slice tool in PS not giving me a transparency that is recognized by AI when I drag the previously saved .png file into AI.
Doing a "save as" in PS to a separate .png does preserve transparency (but I get a large region, not the specific slice) when dragged into AI. But then I have to do an extra step of cropping with Miscrosoft office picture manager. The slice tool solves the extra step, but introduces the transparency problem.

Similar Messages

  • Imported PNG Transparency Lost

    I created an image in Photoshop that included a gradient layer fading from transparency to a foreground color (in this case, black). I saved this image as a PNG file and imported the file onto my Flash stage. The gradient appears on the image as expected when viewing the stage in the Flash editor, however, when I test the movie, the gradient no longer appears. Any thoughts on what may be causing this? Thanks in advance.

    My bad... I forgot to resize my flash screen to the dimensions of the PNG image I was using for a background. When I would test the movie, the image of course, was cropped to the actual size of the screen, thereby leaving out the gradient at the  bottom of the image. I feel foolish now. Thanks for your offer to help, doghouseJim.

  • PNG transparency lost using event.target.loader.content.bitmapData

    I load a png 24 (tripple checked alpha is ok)
    override public function loadData():void
         var request:URLRequest = new URLRequest(url);
         var loader = new Loader();
         loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageloadedSuccess);
         loader.load(request);
    public function imageloadedSuccess(e:Event):void
         showPNG(e.target.loader.content.bitmapData);
    in Air 1.5 png (e.target.loader.content.bitmapData) has no transparency
    same code using Flash 10 export transparency is there.
    both of course loading same png file.
    Is this a known issue?
    I haven't tried yet using 2.0
    is there a workarround to load external png and keep the transparency?
    thx by advance
    Fabrice

    for each loader created, create a movieclip and add your loader to the movieclip.  assign all the properties you want to retrieve later to the movieclip and assign your event listeners to the movieclip.

  • PNG Transparency Lost on PDF Print

    I have been googling and experimenting like a maniac for the last five hours and I am close to giving up. Please help me.
    What I want to do: I want to be able to open a PDF form I created in LiveCycle Designer with Adobe Reader and print it without all the PNG's losing their transparency. I conducted an experiment to pinpoint the problem:
    I started with these pictures.
    background.jpg - a run-of-the-mill colour image
    logo.png - a PNG-24 image with transparency saved using "Save for Web" in PS
    Using MS Word, I create a blank document, insert background.jpg and then logo.png on top of it. The background is visible through the transparent portions of the PNG.
    Using LC Designer, I create a blank document, insert background.jpg and then logo.png on top of it. The background is visible through the transparent portions of the PNG.
    I save the MS Word document as a PDF, using default settings (not that I can identify any settings that ought to affect the issue at hand), as word-doc.pdf
    I save the LC Designer document as a PDF, using default settings (not that I can identify any settings that ought to affect the issue at hand), as lc-doc.pdf
    I open word-doc.pdf in Adobe Reader XI and am satisfied to see that the transparency works as intended.
    I open lc-doc.pdf in Adobe Reader XI and am satisfied to see that the transparency works as intended.
    Since the ultimate outcome of my project is a form where the user should be able to save their changes by printing to PDF, I do the following.
    I save a copy of word-doc.pdf  by printing to Adobe PDF, and name the new file word-printed.pdf
    I save a copy of LC-doc.pdf  by printing to Adobe PDF, and name the new file LC-printed.pdf
    I open word-printed.pdf in Adobe Reader XI and am satisfied to see that the transparency works as intended.
    I open lc-printed.pdf in Adobe Reader XI and am HORRIFIED to see that the transparency DOES NOT WORK as intended.
    I try the same thing with printing to a physical printer instead of to a PDF file - same results.
    I try the same thing using all different PDF version (1.X) - same results.
    I try the same thing using a GIF instead of a PNG - same results.
    ...and so on.
    PLEASE HELP!!!

    You have a bigger problem than you realise. That Adobe PDF driver comes with Acrobat. Not with Windows, and not with Adobe Reader. That's why you have it. Your end users with Adobe Reader will not have it unless they also buy Acrobat (which is of course Adobe's preferred outcome and the reason for all limitations in Reader).
    In terms of graphics issues, it's probably because you are using a LiveCycle Designer (XFA) form. These are not really PDF and don't use PDF quality graphics. They are just a thin PDF wrapper round a simple XML forms architecture. If you want graphics quality, use an acroform.
    In terms of flattening, the popular way seems to be JavaScript, but there may be significant limitations on use in Reader. (The JavaScript API document gives information in Reader compatibility for each method).

  • XMP metadata lost from PNG files after saveing

    Hello,
    i am using Photosop CS3 SDK. through my plug-in I put some metadata in the file using XMP SDK 4.4.2.
    For PNG files, if the file is modified and saved, all the XMP metadata is lost from the file.
    The following steps are being done.
    1. Put some metadata in PNG file using SXMPMeta::SetProperty and SXMPMeta::AppendArrayItem
    2. modify the file (changed brightness, contrast, flattened the image).
    3. Save this file.
    After saving all the xmp metadata is lost from the PNG file. This works for all other formats.
    What can be wrong that I am doing?
    Is there any other way to put XMP metadata in file?
    Thanks,
    Hitesh

    That's probably because PNG doesn't save or read XMP metadata.
    There really aren't standards for metadata in PNG. (though a few products have tried adding it in ad-hoc ways, without documenting their efforts)

  • Problem: importing a transparent image from Photoshop to Premiere.

    Dear Adobe community,
    I am trying to import a transparent image from Photoshop to Premiere Pro CC. Whatever file format I choose to export from Photoshop, Premiere Pro CC will not import the file correctly. When I import is, two things occur: 1) the image gets imported, but the white background is still there or 2) the image gets an error "The importer reported a generic error".
    Does anyone have an idea how I can get an image with a white background transparent into Premiere Pro CC.
    Specs:
    MacBook Pro (Retina, 13-inch, eind 2013)
    2.8 GHz Intel Core i7
    16GB RAM
    1536MB Intel Iris videocard
    Thanks!
    Christiaan

    You need to make sure the image has an alpha channel.
    Images like jpeg dont have an alpha channel.
    Psd or png do and the image has to be RGB.
    Make sure the background in PS is also transparant.

  • Hidden color in PNG transparency. How does photoshop define it and can i change it?

    There is hidden colorinformation in PNG transparency. I need to set the hidden color to black.ow can i change this information?
    You can see the false colorinformation of the PNG, when you open the file in Paintshop Pro.
    My workaround of this is using PSP instead of Photoshop.

    Nice! Never thought of Shift clicking the Mask...Thank you for that information!
    So when i click on the mask, i really get those hidden information. But i cant change it, do i?
    I am using CS6.
    And mask from transparency does not work for Smartobjects or does it?

  • FCP 7 ignores PNG transparency if you don't design the "right" way :)

    So here I am, doing my own thing as usual, editing, getting ready to slap on a lower third. So I decide to design it a different way this time. What if it looks like a curvy sheet of paper coming from the bottom of the screen, so that it's not just a regular suspended lower third that flashes on and off.
    All good until I export the thing. It took me 2 hours to understand why FCP 7 is ignoring png transparency. Apparently, it's not how you export it, it's not the content (weird layers modes), and it's not even the DPI setting. It is the design itself. For some reason, FCP thinks you should never attempt to bring in a lower third that starts at the bottom of the screen, filling it completely. So there ya go. If you want PNG transparency, DO NOT FILL THE BOTTOM PART OF THE IMAGE. Leave some transparent space. Talk about putting your creativity on a leash.
    To better illustrate this odd behavior which I would classify as a bug, I wasted 5 minutes recreating my "problem" for the world to see.
    Have fun!
    http://vimeo.com/19856624

    Hello,
    Thank you for your advice. I have no experience using TIFF or even alpha channels when exporting an image. I understand how they work though, so I'll try that.
    I have fiddled with that regular save as well, and it seemed to make a difference but then again it would still not be recognized as a transparent PNG either way. It may be a bug in my setup, I don't know.
    Usually, if I want to animate something I use motion and that seems to take care of alpha channels on export. But of course, it would be a lot faster to do it right there in FCP, so thank you for again, I'll try using TIFF exports.

  • Create transparency image from shape

    Hi,
    I'd like to create the application that create the transparency image from drawing data. the code is as follows.
    BufferedImage img = new BufferedImage(350,350,BufferedImage.TYPE_INT_RGB);
    Graphics2D g2 = img.createGraphics();
    GeneralPath gp = new GeneralPath(GeneralPath.WIND_NON_ZERO);
    gp.moveTo(100,100);     gp.lineTo(100,200);
    gp.lineTo(200,200);     gp.lineTo(200,100); gp.closePath();
    g2.setPaint(Color.yellow);
    g2.fill(gp);
    g2.setStroke(new BasicStroke(2));
    g2.setPaint(Color.red);
    g2.draw(gp);
    File outFile = new File("outimg.png");
    ImageIO.write(img,"png",outFile);
    I can create the image from such code, but the image is not transparent since the background is all black. What additional coding I need to make it transparent?
    Thanks,
    Sanphet

    1. use a PixelGrabber to convert the image into a pixel array
    2. (assuming pixel array called pixelArray) :
    if (pixelArray[loopCounter] == 0xFFFFFFFF) { //assuming the black your seeing is not a fully transparent surface
        pixelArray[loopCounter] = pixelArray[loopCounter] & 0x00FFFFFF; //sets alpha channel for all black area to 0, thus making it fully transparent
    }3. recreate an Image using MemoryImageSource
    I'm sure there is a quicker solution using some built in java functions...but hey, I dont' know it!! :)
    Here's a sample class that utilizes these techniques:
    * To start the process, click on the window
    * Restriction (next version upgrade) :
    *     - firstImage must be larger
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import javax.swing.*;
    public class AdditiveBlendingTest extends javax.swing.JFrame implements MouseListener, ActionListener, WindowListener {
        static final int ALPHA = 0xFF000000; // alpha mask
        static final int MASK7Bit = 0xFEFEFF; // mask for additive/subtractive shading
        static final int ZERO_ALPHA = 0x00FFFFFF; //zero's alpha channel, i.e. fully transparent
        private Image firstImage, secondImage, finalImage; //2 loades image + painted blended image
        private int firstImageWidth, firstImageHeight, secondImageWidth, secondImageHeight;
        private int xInsets, yInsets; //insets of JFrame
        //cliping area of drawing, and size of JFrame
        private int clipX = 400;
        private int clipY = 400;
        //arrays representing 2 loades image + painted blended image
        private int[] firstImageArray;
        private int [] secondImageArray;
        private int [] finalImageArray;
        //system timer, used to cause repaints
        private Timer mainTimer;
        //used for double buffering and drawing the components
        private Graphics imageGraphicalSurface;
        private Image doubleBufferImage;
        public AdditiveBlendingTest() {
            firstImage = Toolkit.getDefaultToolkit().getImage("Image1.jpg");
            secondImage = Toolkit.getDefaultToolkit().getImage("Image2.gif");
         //used to load image, MediaTracker process will not complete till the image is fully loaded
            MediaTracker tracker = new MediaTracker(this);
            tracker.addImage(firstImage,1);
         try {
             if(!tracker.waitForID(1,10000)) {
              System.out.println("Image1.jpg Load error");
              System.exit(1);
         } catch (InterruptedException e) {
             System.out.println(e);
         tracker = new MediaTracker(this);
         tracker.addImage(secondImage,1);
         try {
             if(!tracker.waitForID(1,10000)) {
              System.out.println("Image2.gif Load error");
              System.exit(1);
         } catch (InterruptedException e) {
             System.out.println(e);
         //calculate dimensions
         secondImageWidth = secondImage.getWidth(this);
         secondImageHeight = secondImage.getHeight(this);
         firstImageWidth = firstImage.getWidth(this);
         firstImageHeight = firstImage.getHeight(this);
         //creates image arrays
         firstImageArray = new int[firstImageWidth * firstImageHeight];
            secondImageArray = new int[secondImageWidth * secondImageHeight];
         //embeded if statements will be fully implemented in next version
         finalImageArray = new int[((secondImageWidth >= firstImageWidth) ? secondImageWidth : firstImageWidth) *
                 ((secondImageHeight >= firstImageHeight) ? secondImageHeight : firstImageHeight)];
         //PixelGrabber is used to created an integer array from an image, the values of each element of the array
         //represent an individual pixel.  FORMAT = 0xFFFFFFFF, with the channels (FROM MSB) Alpha, Red, Green, Blue
         //each taking up 8 bits (i.e. 256 possible values for each)
         try {
             PixelGrabber pgObj = new PixelGrabber(firstImage,0,0,firstImageWidth,firstImageHeight,firstImageArray,0,firstImageWidth);
             if(pgObj.grabPixels() && ((pgObj.getStatus() & ImageObserver.ALLBITS) != 0)){
         } catch (InterruptedException e) {
             System.out.println(e);
         try {
             PixelGrabber pgObj = new PixelGrabber(secondImage,0,0,secondImageWidth,secondImageHeight,secondImageArray,0,secondImageWidth);
             if (pgObj.grabPixels() && ((pgObj.getStatus() & ImageObserver.ALLBITS) !=0)) {
         } catch (InterruptedException e) {
             System.out.println(e);
         //adds the first images' values to the final painted image.  This is the only time the first image is involved
         //with the blend
         for(int cnt = 0,large = 0; cnt < (secondImageWidth*secondImageHeight);cnt++, large++){
             if (cnt % 300 == 0 && cnt !=0){
              large += (firstImageWidth - secondImageWidth);
             finalImageArray[cnt] = AdditiveBlendingTest.ALPHA + (AdditiveBlendingTest.ZERO_ALPHA & firstImageArray[large]) ;
         //final initializing
         this.setSize(clipX,clipY);
         this.enable();
         this.setVisible(true);
         yInsets = this.getInsets().top;
         xInsets = this.getInsets().left;
         this.addMouseListener(this);
         this.addWindowListener(this);
         doubleBufferImage = createImage(firstImageWidth,firstImageHeight);
         imageGraphicalSurface = doubleBufferImage.getGraphics();
        public void mouseEntered(MouseEvent e) {}
        public void mouseExited(MouseEvent e) {}
        public void mousePressed(MouseEvent e) {}
        public void mouseReleased(MouseEvent e) {}
        public void windowActivated (WindowEvent e) {}
        public void windowDeiconified (WindowEvent e) {}
        public void windowIconified (WindowEvent e) {}
        public void windowDeactivated (WindowEvent e) {}
        public void windowOpened (WindowEvent e) {}
        public void windowClosed (WindowEvent e) {}
        //when "x" in right hand corner clicked
        public void windowClosing(WindowEvent e) {
         System.exit(0);
        //used to progress the animation sequence (fires every 50 ms)
        public void actionPerformed (ActionEvent e ) {
         blend();
         repaint();
        //begins animation process and set's up timer to continue
        public void mouseClicked(MouseEvent e) {
         blend();
         mainTimer = new Timer(50,this);
         mainTimer.start();
         repaint();
         * workhorse of application, does the additive blending
        private void blend () {
         int pixel;
         int overflow;
         for (int cnt = 0,large = 0; cnt < (secondImageWidth*secondImageHeight);cnt++, large++) {
             if (cnt % 300 == 0 && cnt !=0){
              large += (firstImageWidth - secondImageWidth);
             //algorithm for blending was created by another user, will give reference when I find
             pixel = ( secondImageArray[cnt] & MASK7Bit ) + ( finalImageArray[cnt] & MASK7Bit );
             overflow = pixel & 0x1010100;
             overflow -= overflow >> 8;
             finalImageArray[cnt] = AdditiveBlendingTest.ALPHA|overflow|pixel ;
         //creates Image to be drawn to the screen
         finalImage = createImage(new MemoryImageSource(secondImageWidth, secondImageHeight, finalImageArray,
              0, secondImageWidth));
        //update overidden to eliminate the clearscreen call.  Speeds up overall paint process
        public void update(Graphics g) {
         paint(imageGraphicalSurface);
         g.drawImage(doubleBufferImage,xInsets,yInsets,this);
         g.dispose();
        //only begins painting blended image after it is created (to prevent NullPointer)
        public void paint(Graphics g) {
         if (finalImage == null){
             //setClip call not required, just added to facilitate future changes
             g.setClip(0,0,clipX,clipY);
             g.drawImage(firstImage,0,0,this);
             g.drawImage(secondImage,0,0,this);
         } else {
             g.setClip(0,0,clipX,clipY);
             g.drawImage(finalImage,0,0,this);
        public static void main( String[] args ) {
         AdditiveBlendingTest additiveAnimation = new AdditiveBlendingTest();
         additiveAnimation.setVisible(true);
         additiveAnimation.repaint();

  • On my iPhone5s I have suddenly lost from calendar all my events and cannot add new ones. What has gone wrong and how do I fix it?

    On my iPhone 5s I have suddenly lost from calendar all of the events I had entered and can no longer add events. What has gone wrong and how do I fix it - including retrieving the lost events?

    Restart your device by holding the home and power button until the Apple logo appears.

  • Ethernet Network ATV lost from iTunes and it wont come back!!!

    Hi everyone
    Had this happen a couple of times now.
    I've got a 160GB ATV connected to a 1080P display. Mac Mini is host for all things iTunes. All software is latest versions incl. ATV. ATV is connected to network via ethernet as is Mac Mini.
    Most of the time if the Mac Mini is restarted and iTunes restarted it will appear again in the ATV Sources menu as highlighted and the ATV will appear in the iTunes sources list. However, this is the second time now that it has been lost from the sources and I can't get it back!!!
    The first time it happened I just turned off syncing and reset the connection but there is now loads of stuff to go back and the syncing will take forever! Also slightly annoying is that a lot of the video content is TV shows recorded using EyeTV throughout the week and I have noticed that the ATV does not date TV shows according to when they added to iTunes rather it dates them when the are synced so that that makes life difficult when trying to watch episodes in order. Therefore I would like to avoid having to re-sync everything from scratch if I can!
    Is there any way I can force ATV to show up in the devices list?
    FYI The first time it happened, I seemed to lose iTunes Sharing completely - not even my PowerBook could pick up the shared Mac Mini library but this time it is different. The Mini sees the PowerBook and vice versa but the ATV is completely excluded.
    The ATV can be pinged and it can see the internet and YouTube etc but NOT the Mac Mini it seems. I have restarted everything, reset everything I can think of and turned off the firewall but to no avail.
    Any ideas?

    Looks like you've done all the obvious things - quite irritating I would imagine.
    I may be wrong but I think the problem is more one of iTunes not seeing the AppleTV rather than AppleTV not being to access the Mac. Your YouTube/Movie tariler functionality as you probably know is independent of iTunes as the AppleTV connects directly to the internet, not via iTunes.
    Looks like you may need to go down the route of disabling syncing and re-syncing unfortunately - though it's probably quicker to restart everything again a few times first just in case.
    AC

  • Loading PNG image file from Applet?

    Hi All,
    My applet running on IE6 and it will often loads 100 PNG image files from a webserver.
    Size of PNG file is about 60Kb so 100*60=6000 Kb ~ 6M.
    In theory, the applet will took 6M of memory to store all 100 files. In practical, it tooks about
    6M* 25 = 150M of memory, that make my applet run in out of memory sometimes.
    I know the reason, may be the brower/applet convert the PNG file format to BMP file format before showing on the screen.
    So the main point here is the applet should not loads all 100 files into the memory,
    it should loads only 10 files at the same time, another 90 files should be cached in memory as PNG file format, not BMP image file format to save the memory usage.
    Is this solution possible in applet field?
    If it is possible how can I implement it?
    And please show me better solution if anys.
    Many Thanks.

    I know the reason, may be the brower/applet convert the PNG file format to
    BMP file format before showing on the screen.This sounds VERY unlikely! Why should the browser do that? And the applet does what you have coded I hope!
    Your problem is probably somewhere else. And it has nothing to do with applets I presume. Use a heap analyzer tool to find out what hogs the memory. A thorough code review can't hurt either. If you still thinks it is the images though, then just don't load them all at once then.

  • I'm having trounble with PNG transparency in Firefox

    After I publish my site I see all the PNG transparency in Firefox but in other browsers the PNG transparency works well.
    Is there a fix for this?

    You would need to publish a URL to get help with this and also mention which version of Firefox you are using. Are you using the latest V 4.0?

  • Distilling transparent colors from Word

    I have a color transparency in a Word document that renders in a dithered fashion when I create the corresponding PDF document. I have tried the various pre-defined settings (standard, high quality, and press quality) as well as disabling compression and all yield the same dithered result (Acrobat 9.2.0). Below is an example.
    The original image is on the left and the resulting PDF is on the right. Note that i can generate transparent colors from Illustrator using any of the redefined settings. Can anyone offer any suggestions? I assume it's an Acrobat print setting issue and i've tried a number of different setting compinations to no avail. Thanks

    Thanks for replying. I've tried using PDF Maker, but it consistently hangs during the process on any file that I've tried it on. (this is a new installation of Acrobat 9 Pro.) I've tried repairing with the installation disk, but I get the same result. So it looks like I need to resolve that problem first.

  • How can I retrieve pictures, lost from my iphone during a backup?

    How can I retrieve pictures, lost from my iphone during a backup?

    The photos could have gone a couple of different places ...but it is unlikely that they are lost forever.  It kind of depends how your Backup was done.  With many Computer-based iTunes connections, your Computer Photo App will actually open first when you connect your iPhone and the photo transfer will happen between the iPhone and the App.  Assuming that isn't what happened in your case, but you did Backup on iTunes, you could reconnect to iTunes and then click on your iPhone button on the Computer screen ...typically the iTunes Summary screen will show up ...but you can tab-through the various iTunes Screens and find the Photo page.  You could check your options and see if you have a Manual Sync setting regarding iTunes to iPhoone ...this would mean you have to select the Photos you want to download to the iPhone during the Sync. 

Maybe you are looking for