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.

Similar Messages

  • Importing Cut Out Images from Photoshop w/out White Background?

    Hello Everyone,
    I am brand new to Illustrator. I have been a Photoshop user all these years. I am trying to import a photo to Illustrator CS5 that I cutout using this method:
    http://thedesigned.com/2009/08/21/how-to-cut-out-images-like-a-professional-in-photoshop/
    Unfortunately it superimposes itself into Illustrator with a white background when I thought it would be transparent surrounding the image. I opened the file in Illustrator as a PSD. But I tried .jpg as well. Anyone know how to work around this?
    Thanks!
    Randall

    Well from the looks of the tutorial which leaves a lot of info out you ended up flattening the image so that the background is now white but that is hard to tell from the tutorial.
    If your background is white you should rmove it in in photoshop and save the image as a psd with no background layer only a transparent layer of the subject.
    Then place that .psd in Illustrator and your background will be transparent.
    I suggest placing it rather than opeining it in AI.
    Like such: (even my signature is a psd on a tansparent layer.)

  • Import Image from Photoshop

    I am trying to import an image with a transparent background from photoshop to FCP. But when I import it into FCP the background of the image appears white. Does anyone have a resolution to this problem? Thank you.

    It worked, thanks so much Steve. You really helped me out. I'm a filmmaker and my DVD is coming out in 2 weeks so this was the finishing touches on it - trying to get the FBI logo on the warning for the intro into the film
    Thanks again.
    Warm Regards,
    Hedley
    P.S. If you're curious the website for my film is www.ChasingErections.com (a romantic comedy)

  • 'cut-out' images from Photoshop import into FCE with unwanted background

    I want to import some custom 'cut-out' images from Photoshop, but they come into FCE with a rectangular background around them. Is there a way to import just the irregular 'cut-out' image?
    Bob

    Make sure the images are RGB 8-bit and in a format that carries an alpha channel or Photoshop transparency like Photoshop, TIFF, PNG, even PICT.

  • How to insert cropped images from photoshop without the white background

    Basically all I want to do is take a peice of writing from a video and insert it into another video. To do this I've took a screenshot of the font from the video and imported it into photoshop. I've then cropped/cut/took the the peice of writing I want, letter by letter. I want to be able to insert it into another video, but whenever I attempt to do it, I have the default white background of photoshop. Is there anyway to insert an image from photoshop, without taking the background with it, or even insert a layer from photoshop straight into final cut pro? Sorry if this is confusing.

    I don't think so. I cropped the letters, put them each an individual file, removed the background, saved them as a TIF then tried to import them onto Final Cut Pro, but a white background still appeared in the TIF file. Basically I just want to make the background transparent I believe.

  • I am unable to import Raw still images from a Nikon D 80 into Premiere Pro cs 4. All jpeg images ok

    I am unable to Import RAW still Images from a Nikon D 80 camera into
    Premiere Pro. All jpeg images import Ok. A web search suggests I need "plug-ins" for RAW, but I can not find  same. Any suggestions as to how to inport RAW files to PP CS 4 would be appreciated. I have just updated from Premiere Elements 4 which had no problem importing RAW still images.
    Roygo

    The way I see it (correct me if I'm wrong) but Raw is supposed to be where you have total editing control of the shot (as opposed to the camera). I believe the next step is to do the editing (i.e. color balance, exposure, etc) then make a regular image from that to use in whatever output you desire (print, web, etc.) Think of raw as the negative. Just being in raw doesn't in it self make it better.
    Edit. This is from premiere help files....
    Supported still‑image and sequence file formats
    Adobe Premiere Pro supports 8-bit per-channel (4 bytes per pixel) and 16-bit per-channel (8 bytes per pixel) still-image files. It converts images with lower bit-depths to 8-bits per channel and images with higher bit-depths to 16-bits per channel on import. High bit-depth files are supported at one single-precision float per channel (16-bytes per pixel).
    AI, EPS (Adobe Illustrator and Illustrator sequence)
    BMP, DIB, RLE (Bitmap and Bitmap sequence)
    EPS
    GIF
    ICO (Icon File) (Windows only)
    JPEG and JPEG sequence (JPE, JPG, JFIF)
    PICT and PICT sequence (PIC, PCT)
    PNG (Portable Network Graphics)
    PSD (Adobe Photoshop and Photoshop sequence)
    PSQ (Adobe Premiere 6 Storyboard)
    PTL, PRTL (Adobe Premiere title)
    TGA, ICB, VDA, VST (Targa and Targa sequence)
    TIF (TIFF and TIFF sequence)

  • What settings are best to export sharpened images from Photoshop to use in Final Cut?

    I need to give a professional photographer the correct dimensions to export her images from Photoshop for me to use in Final Cut. I told her:
    1080 x 1920, 300 dpi, and also to Convert Images to Apple RGB (Final Cut doesnt work well with Adobe RGB, I am told). Her images have alot of heavy sharpening on them--she is an artist--and when i import them into Final Cut, many of the lines that should be crisp are zig-zagged, and if I apply motion to them, they "shake."
    My problem is specific to images that have been highly sharpened in Photoshop; i have imported lots of professional images before with no problem. I am on deadline and hope someone out there will see this.

    You were right about trashing the finalcut plist. As well as a very specific set of directions I now have put together from what you and others have said elsewhere, and this is it, i hope it helps others with their Canon XHA1 and Final Cut Express HD:
    Trash the final cut preferences (plist) in your Home - LIbrary.
    go into the Canon XHA1 menu, make sure that you're not set to down-convert to DV.
    Get out of the menu. Shut the camera off,
    plug in the firewire cable to both the camera and computer,
    and turn the camera back to VCR mode.
    Open up Final Cut, and go to Easy Setup ,
    choose HDV- Apple Intermediate Codec 1080i60
    This worked beautifully but took me nearly four hours to figure out, including researching the web and experimenting in FCE HD

  • When trying to import photos with iPhoto from photoshop.. won't let me keeps saying that the photos are already in the iPhoto library but they are not... need to fix this

    When trying to import photos with iPhoto from photoshop... won't let me keeps saying that the photos are already in the iPhoto library but they are not

    If you are using Photoshop from within iPhoto the following may help with the workflow.  However, we do need to know the answers to the questions posed by Terence and Larry to be able to help you.
    Using Photoshop or Photoshop Elements as Your Editor of Choice in iPhoto.
    1 - select Photoshop or Photoshop Elememts as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop.  When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window
    that indicates that  PS wants to save it as a PS formatted file.  You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    With Photoshop Elements  the Saving File preferences should be configured as shown:
    I also suggest the Maximize PSD File Compatabilty be set to Always.  In PSE’s General preference pane set the Color Picker to Apple as shown:
    Screenshots are from PSE 10
    Note 1:  to switch between iPhoto and PS or PSE as the editor of choice Control (right)-click on the thumbnail and select either Edit in iPhoto or Edit in External Editor from the contextual menu. If you use iPhoto to edit more than PSE re-select iPhoto in the iPhoto General preference pane. Then iPhoto will be the default editor and you can use the contextual menu to select PSE for your editor when desired.
    Note 2:  editing a RAW file with either PSE or PS creates a new file which must be saved outside of iPhoto, i.e. the Desktop, and imported as a new photo into the iPhoto Library.

  • Importing Pictures and Tags from Photoshop Album 2.0 to IPhoto

    I will be getting a new imac in a few days and was wondering if anyone knows if there is a way I can import all my photos from Photoshop Album 2.0 to iphoto'08 without losing the tags I already created for each photo (pulling the tags in and having them automatically set up as Keywords)?

    Hi,
    I've managed to transfer all my Photoshop Album (PSA) tags to iPhoto. At this (http://www.cv2h.com/PSA2iPhoto/Welcome.html) little webpage you can read how I did it and download the files you need. It's not very hard to do.
    In short: the PSA "My Catalog.psa" file is a Microsoft Access file. It's easy to export the necessary data from it as XML. After that it's necessary to convert the binary references to the tags to readable references in the Images file. Then, generate an applescript that tells iPhoto what tags to add to which photo. Then, execute the applescript and you're done.
    I hope this helps,
    hhv.

  • Printing banner images from photoshop CS3

    Hi, I have successfully printed banners 1200mm x 297mm from my Xerox Phaser 7750 and Illustrator (Vector art). When I try to print a photographic image from Photoshop it all prints fine except the last 300mm or so. The image has white bars and properly printed image evenly spaced from top to bottom of the print. I have reduced the resolution and file size but the problem is still there with wider bars the lower the resolution. The original image was 160mb but I have the same issue with a 20mb image. ALso tried placing in Illustrator but get similar problems.
    I assume this is a memory issue but I thought lowering the file size drastically would fix it, yet it doesn't. The Printer has a relatively low amount of memory (384mb) but I would like to know if this is the real cause before I dive and buy more memory - big chips are still expensive on this.
    Any help would be very welcome.
    Thanks. Ant

    Hi, I will try printing from inDesign but I have managed to get an image to print out by changing the quality in the print driver to standard - it was previously on 'Enhanced' or 'Photo'. I had tried from Illustrator and had similar problems (printed OK with Illy created art though) so thought it may be a printer memory issue which does seem to be the case. I assumed that by reducing the file size/resolution it would print but it seemed to be the image quality that uses more computing power than the pixel count of the file. I guess a different RIP may also help as it could use the much higher RAM of the Mac rather than the printers meagre 384mb.
    I had originally thought it may be a P/Shop issue as I had problems printing to Epson inkjet some months ago and then Epson and Adobe seemed to blame each other!
    Thanks for the reply.

  • Cannot align images from photoshop

    i am importing images from photoshop and when i try and put them side by side one goes underneath. its like in microsoft word when you have the paragraphs on when you put images together. i need a option to un-wrap the images so they can go side by side rather than one under the other. i hope someone understands! i changed the borders on the images to "0" and still no joy. help will be greatly appreciated.
    james

    here's the code if it helps
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>LaneWebDevelopments Homepage!</title>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    </head>
    <body onload="MM_preloadImages('rollovertools_02.gif','rollovertools_03.gif','rollovertools_04. gif','rollovertools_05.gif')">
    <img src="Top-Graphic_02.gif" width="938" height="124" /><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home','','rollovertools_02.gif',1)"><img src="Home-Page_02.gif" alt="Go Home!" name="Home" width="110" height="48" border="0" id="Home" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('About Us','','rollovertools_03.gif',1)"><img src="Home-Page_03.gif" alt="About Us" name="About Us" width="146" height="48" border="0" id="About Us" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Web Development','','rollovertools_04.gif',1)"><img src="Home-Page_04.gif" alt="Web Development" name="Web Development" width="266" height="48" border="0" id="Web Development" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact Us','','rollovertools_05.gif',1)"><img src="Home-Page_05.gif" alt="Contact Us" name="Contact Us" width="171" height="48" border="0" id="Contact Us" /></a>
    <img src="Home-Page_06.gif" width="239" height="48" /><img src="mainblurb_03.gif" width="366" height="858" border="0" /><img src="prices_03.gif" width="448" height="359" border="0" />
    </body>
    </html>

  • Importing stills into CS6 from Photoshop CS4

    I appear to be unable to import my still images from Adobe Photoshop CS4 (file types psd) into Premiere Pro CS6 and get the following error message "The importer reported a generic error".  Am I missing a very simple trick (other than having to upgrade Photoshop too!).  (Working on Windows 7)
    Help would be greatly appreciated.
    Thanks.
    Doreen.

    Doreen,
    In about CS5 (IIRC), a Bug developed, where if there was a very tiny Layer in a Layered PSD, there would be an issue Importing. I had assumed that that had been fixed, but could be wrong. Check your PSD, and look carefully in the Layers Pallet for some very small Layer. If so, can you Merge Visible (just poke OUT the "eyeball" in any Layer, that you do not want affected)?
    The normal issues with PSD's are CMYK, and Color Bit-Depth, but you have RGB, and if you had, say a 16-bit Image, PrPro CS4 would have issues with that.
    I have also had a few issues with Smart Objects in a PSD, and just Rasterizing those has yielded troublefree Images - however, I have also Imported Layered PSD's, WITH Smart Objects, that worked just fine - do not know what the differences were between those Smart Objects - but still, if PrPro CS 4 Imports them fine, that should not be an issue.
    Wish that I had more to offer, but good luck,
    Hunt

  • Why can't I copy an image from photoshop, i can't paste it in anoter computer program ?

    Why can't I copy an image from photoshop, i can't paste it in anoter computer program ?

    Denis Beelog wrote:
    Why can't I copy an image from photoshop, i can't paste it in anoter computer program ?
    Assuming Windows...
    You can, assuming you select around the pixels you want to copy, and the selected region isn't too large.
    There are a variety of ways you can get the copy operation wrong, e.g., by not having the proper layer selected or similar.
    And there's a secret setting to enable Photoshop to export its clipboard no matter how large the selected pixel set is.  Note the setting I have bolded below.  Keep in mind that by making this setting you may be subjecting all the software on your computer that registers to receive clipboard data to datasets that are larger than it might expect.  In other words, there could be a downside.  That being said, I haven't had any problems on my Windows 8 system.
    # Photoshop "special items" user-specific configuration file
    #  Must be named PSUserConfig.txt and be put here:
    #   %USERPROFILE%\AppData\Roaming\Adobe\Adobe Photoshop CC 2014\Adobe Photoshop CC 2014 Settings\PSUserConfig.txt
    #  All possible entries:
    #   AllowAsyncIO
    #   AllowOverScrolling
    #   AllowUserConfigFile
    #   ClipboardMaximumSize
    #   DragBoundingBoxOpacityPercent
    #   EnableGestureRotation
    #   FileStreamDefaultSize
    #   ForceProgress
    #   FullPreviewMaxSize
    #   GPUAllowGLXP64
    #   GPUAllowPBOs
    #   GPUCheckerBoardNodeInBlitPipe
    #   GPUDiableMainWindow
    #   GPUDisallowAdvancedGLRendering
    #   GPUDisallowAppleClientStorage
    #   GPUDisallowCanvasImposters
    #   GPUForceLinearCheckerBoardNodeInBlitPipe
    #   GPUIgnoreMemoryRequirements
    #   GPUShouldNotScootATISelections
    #   GPUUseAceNodeInBlitPipe
    #   GPUUseFloatTextures
    #   GPUUseVBLSync
    #   MemoryAlignment
    #   PDFAllowHugeFiles
    #   PDFPresentationAllowHugeFiles
    #   PreserveEXIFMakerNotes
    #   RecentFilesSlowTimeout
    #   SpringKoadedKeyTime
    #   SyncSmartUploads
    #   TrackPadAllowGestures
    #   UseStagingServer
    #   UseSystemStylus
    #   VMCompressPages
    #   VMDisableBuffering
    #   VMForceBuffering
    # Enable Overscrolling:
    AllowOverScrolling 2
    # Remove the clipboard export size cap
    ClipboardMaximumSize 0
    -Noel

  • 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();

  • Exporting text as an image from Photoshop

    I am using a non web safe font and so I am exporting the body of text as an image from Photoshop. Canvas size 900 x 600 pix 72 dpi.  However when viewing in the web browser the text looks soft and pixelated.  
    Does anybody know how I can solve this?   All I want is sharp lookinh text!
    J

    Hi Vikas
    I export files from Photoshop as png's at 72 dpi.  
    Here is our current holding page.  http://www.iheartmylife.co.uk/ All the text on this page has been loaded in as png's from Photoshop along with the image. As you can see none of it is as sharp as it could be.
    Many thanks for your assistance.
    James

Maybe you are looking for

  • " steps to upload data from R/3 to BO ! "

    Hai  Friends ,                        Can  anyone let me the steps to upload the data from R/3  to BO tools .

  • Question for Verizon re. HTC return......

    I have just upgraded using the Early Edge thing, and now have a Galaxy S5 which I love.  However, I need to return my HTC Rhyme to Verizon, and I am not sure how to get rid of all the stuff I have on it - photo's, contacts etc.  Do I just need to do

  • History in txt file...on client location

    I want to create a history file in a .txt file. and it's store on client location...if there r any solution plz share that.. thanx Wating ur +ve rply....                                                                                                 

  • Online number same as iPhone Number

    If i have the same number, when i get an incoming call (whilst in wi-fi area), will the call go to skype (and thus free), or to my mobile (where i get charged an international incoming rate)?  Cheers

  • Importing library to Aperture 3.3: not enough free space

    I am trying to import an iPhoto Library (9.3) into a brand new, blank Aperture 3.3 library, but I am getting the following error message:  "The library could not be imported because there is not enough free space on your current Aperture Library volu