JPEG images in FCP look pixilated

Hi everyone. I'm doing a picture montage in FCP and plan to do the Ken Burns thing by keyframing each photo myself. So I brought a bunch of JPEGs into my Browser, and when they're in the Viewer window, they look fantastic. But as soon as I drop them in the timeline, they look pixilated and not sharp in the Canvas window, even before I do any pans or zooms. Then when I do apply motion (esp zoom ins), they look much worse -- all the while looking crisp and clear in the Viewer. What's the deal??
Here's some more info to help solve the mystery:
1) I got the JPEGs into FCP simply by dragging them into the Browser straight from iPhoto. I didn't import them -- just straight drag and drop.
2) I tried to render them, but they still look the same.
3) Once I apply the keyframes, the clip in the Viewer window also moves. This is unusual to me, as I am an Avid user also and source material is not affected when you keyframe clips in the timeline. In any event, the moves in the Viewer window look awesome, and THAT's how I want the timeline to look. But alas, it doesn't.
Thanks for any help! I appreciate it.

Shane's Stock Answer #2: Blurry playback
ONLY JUDGE THE QUALITY OF YOUR MATERIAL ON AN EXTERNAL NTSC MONITOR, OR AT LEAST A TV.
1. Disable overlays on the canvas
2. Make sure you've rendered everything (no green bars at the top of the timeline
http://docs.info.apple.com/article.html?artnum=24787
Video playback requires large amounts of data and many computations. In order to maintain frame rate and be viewable at a normal size, only about one-fourth of the DV data is used in displaying the movie to the screen. However, the DV footage is still at full quality, and is best viewed thru a TV or NTSC monitor routed thru your camera or deck.
Shane

Similar Messages

  • TS3276 Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Apple Mail isn't going to change the format of any of your attachments. it isn't going to corrupt them either.
    Exchange is a transport protocol and server. The issue you describe is not related to Exchange.
    There are many different versions of Microsoft Outlook in use and they all have e-mail bugs. Different versions have different bugs. Some Apple Mail hack to get around a bug in Outlook 2003 may cause the same message to be problematic in Outlook 2000. Fix them both and another issue will cause trouble in Outlook 2007. You can't fix this. Apple can't fix this. Microsoft can and has but that is irrelevant if your recipients are using older versions.
    One specific problem is that Apple Mail always sends image attachments inline, as images, not as iconized files. You can change this with Attachment Tamer. Just be aware that use of this software will break other things such as Stationery. E-mail is just a disaster. To date, no one outside of Apple has ever implemented the e-mail standards from 1993. Apple has continually changed its e-mail software to be more compatible with the de-facto standards that Netscape and Microsoft have unilaterally defined and people documented as "standards" after the fact. The e-mail messages that Apple Mail sends are 100% correct and do not violate any of the original standards from 1993 or the Microsoft/Netscape modifications. The problem is entirely bugs and limitations in various versions of Outlook.

  • How do i create a jpeg image from clips in fcp

    how do i/can I create a jpeg image from clips in fcp?
    Stephen

    Select clip in timeline and place the playhead over the frame you want to save as a JPEG. Open the share window ( Button on far right of tool bar) and select 'Save current frame'. If you don't see that option click on add destination and select the Save current frame choice. It will be added to your share options.

  • How to apply a "motion" effect to an entire group of images in FCP

    I have Final Cut Studio and I'm creating a time-lapse video right now out of about 3,000 high-resolution JPEG images. I've figured out how to import them in to my bin at a default length of 1 frame per image and then drag them in to the timeline (30 images per second).
    I now need to make them all larger by about 60% (they automatically imported into the timeline at 45%). I also need to readjust their "center" location and "rotation" throughout the video as the camera was running for several months and got bumped here and there. So I need to zoom in (to create a buffer on the border of the images) and then rotate, tilt, and pan the frame in various places until the video is nice and smooth and consistent throughout.
    My question is, how do I apply motion effects to the entire track or to hundreds of images in one shot? I'll die of old age if I have to manually apply, re-apply, and re-re-apply the settings to 3000 individual images. I've been searching for an answer to this for a while but haven't found any articles so I thought I'd post it as a question.
    Any ideas would be HUGELY appreciated!
    Thanks

    Wow, thank you everyone for giving me so many ideas.
    Tom, I never knew about the "Paste Attributes" button... and I've been using FCP for 4 years, how embarrassing. But dang, what a COOL feature! I'll be using that a lot in the future.
    Kevin, this Nest feature is PERFECT! That was literally what I was looking for really (a way to keep the image high quality as I zoom in and tinker and what not).
    David, the images are 1600 X 1200 @ 180 DPI. That was actually one of the lower settings in GbTimelapse, but as long as I can use the padding to crop and zoom, I'm happy. Thanks for the info though.
    And Andy, thanks for the tip about Motion. Normally I only use Motion for titles but I know I really should play with it more as I'm aware of it's ability to do so much more than that.
    Thanks again to everyone. Seriously, 10 minutes after I asked this question and I had 3 different, REALLY good solutions to a problem that I thought would be incredibly hard to solve, haha
    Cheers guys,
    Chris

  • How to load a jpeg image in to a database from a flex2 app

    Hi,
    how ouwld I browse the local fie system, select a jpeg image
    and then save
    it to a database using flex2?
    Anybody know of some sample code that I can look at?
    Thamls

    Hi Thamis,
    Take a look at the flash.net.FileReference class here:
    http://livedocs.macromedia.com/flex/2/langref/index.html
    This is the built in Flash support for file upload. You'd
    handle the upload with a servlet/jsp/etc. server-side component to
    save it to disk or as binary data in a database.
    Best,
    Seth

  • Firefox 3.6.8 causing all JPEG images to be compressed like AOL 9.0

    System Setup:
    Windows 7 Home Premium x64
    NVIDIA GeForce 9500 GT (newest drivers installed)
    Aero is running, switched it off to troubleshoot. Problem persisted.
    Steps to Create the Problem:
    1.) Updated to 3.6.8 from 3.5.11.
    2.) Loaded up my website: http://www.columbuswebseo.com
    3.) I noticed that the background image looks compressed (where it has a gradient around the blurred light specks in top right corner) . Like a highly compressed JPEG image from AOL days (to speed up page load times).
    4.) Messed with all FireFox, Windows 7, NVIDIA, physical Dell LCD monitor color settings. Even did research on my RoadRunner connection to see if they implemented an accelerator of some sort. Disabled Add-ons one by one re-testing the issue along the way. Problem persisted.

    It's not your graphics card. It's not your OS. It's not your browser.
    It's your internet. I had a broadband card, and I figured out that my ISP (Internet Service Provider) was actually downgrading my image quality to make my internet faster. It's called Network Optimization. Look in the options menu of your broadband connection application (Like if you have T-Mobile or whatever, look in the part the application that connects you to the internet) and see if you can change your Optimization Settings. This should clear things up for you.
    Also, if your internet is really that slow, like mine was, I would suggest getting another provider. It's the best option. Hope that helps. :)

  • Help with managing RAW and jpeg images and installing iphoto 9

    Greetings: Fist, let me make the neophyte apology and plea - I'm sorry, I should have come here first; I didn't and now I need your help.
    I have just purchased a macbook pro (still in its box) with updated software for my older imac os x. I have a number of Canon related photo editing programs (that came with my 40D digital SLR) and Adobe photo elements 6 for mac on the imac. Following some erroneous advice I have made a complete mess of the pictures folder's content by trying to delete images directly from that folder (there are now 6000+ images in the folder, many of which are duplicates(?). Most of the images are not tagged or labeled and some have been organized in/by iphoto (I corrupted the iphoto's library structure very early on by disrupting and editing its images - which might explain why iphoto had a difficult time 'finding' and displaying some of my photos). The picture folder now holds jpegs, smallRAW images (a Canon 40D photo format) and various duplicates of the orignal images - (some of the duplicates don't display as images, but as jpeg logos, which, when opened contain duplicate image or are completely black) The first time I downloaded RAW images into iphoto 6 the RAW data displayed as a black image. When shooting in smallRAW on the Canon 40D, the camera produces a jpeg image for 'easy viewing and editing in the camera' but it looks as though iphoto 6 made duplicates of the jpeg and the RAW data and stored them in different locals in the picture file. In an attempt to get the number of images down, I have been trying to delete them from the picture folder. (My daughters both download images rather indiscriminately in hopes of 'editing them on the computer' which inevitably does not happen) and there is a lot of experimental bracketing of images - shooting raw and different Camera formats etc., all of which need to be cleaned up before I proceed.
    Sometime in the not-too-distant future I would like to have iphoto 9 running on my imac with a clean library of images and a seamless way of downloading, editing and storing images (including the RAW data).
    The macbook pro is for my highschool-aged daughter, who will run iphoto 9 but not have any RAW image data on her system. She would like to copy some of the old iMac's images to put into her own iPhoto 9 library (probably using a disk, email or on-line photo service - ideally, I would like to be able to copy and remove a number of those images from my HD and give them to her for the macbook)
    A few questions and queries: Can I 'dis-able' iphoto 6, while I delete images (RAW and jpeg) from the picture file? (and is this even a good idea).
    Once I have edited the # of images down to a reasonable size, should I re-launch iphoto 6, rebuild the iphoto library and then update to iphoto 9 or skip v6 and rebuild with v9?
    And now for the 'how stupid is this guy question' - I really had planned to purchase an external backup; but between new the macbook, car repairs and braces it has never come to fruition. So, I have never properly backed up my images. What is the bare-bones, least expensive method for me to do this? I'd even consider burning everything to disks if that works. I can't afford the $ to purchase a new external hard drive right now (really). Budget is set aside mid-November for one though.
    I've been looking through some other discussion boards and it looks like I'm not the only one having RAW image issues. I know that shooting smallRAW with the companion jpeg is probably not helping things but I take my camera equipment on extended canoe trips - and we like the ease of on-the-spot editing with this format.
    Thanks in advance for your help - Mark

    Terence, Is the picture folder the primary source for the images or does that data reside somewhere else?
    If you gathered them there, then yes.
    I really don't want to have to go through 14,000 images looking for the pictures that I want to keep (or is that my only option?).
    Only you can decide what you want to keep.
    Why does the computer keep making copies of the images and filing them under date and events?
    That's how iPhoto works. It's not a problem usually, only you did go in there and make a problem, and now we are trying to fix it.
    You advise not to muck around in the picture file via preview,
    No I don't. I advise not to much around in the iPhoto Library Folder.
    but if I download images through a program other than iPhotos - image capture or adobe aren't I doing that anyway?
    Adobe what? Adobe is a software manufacturer who make many excellent applications, you need to be more precise. And no, if you import photos with Image Capture or “adobe” no you are not interfering with the iPhoto Library Folder.
    Can you edit a base image file somewhere and remove it from the HD without iphoto making a copy of it and storing it somewhere else?
    This is stunningly easy. Don't use iPhoto. Use an image editor.
    I want to look the negatives, decide which ones I want and throw the rest away. Can that be done or am I way off course?
    Yes, and iPhoto (or similar apps) make this really easy.
    Hook up your camera. Import the pics to iPhoto. Go through the imported pics. Trash the ones you don't want. Then process the ones you do. But you must learn how to use iPhoto to do this successfully
    To trash: put the pic in the iPhoto trash and empty it. This removes the file from iPhoto and the Hard Disk.
    Process it: If you want to use another editor: You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Regards
    TD

  • Is there a way to overlay a soundcloud music player widget (flash or HTML5) ON TOP of a jpeg image?

    I am designing my first webpage for a new site. It is very basic in function, where I am going to be embedding a bunch of soundcloud.com players of my music to my website. This part is fairly easy. I currently have Adobe Dreamweaver CS6.
    Since I have ZERO webdesign experience, going the easy route is best. It was suggested to me by someone to create what I wanted my webpage to look like in photoshop (which I have lots of experience in). Essentially, I have a single image with lots of visual information on it, where I can then add "hotspots" if needed. So, I created my design, where there are specific areas ON TOP of the jpeg image where I want to overlay the soundcloud player. I am able to adjust the size, and format (HTML5 or Flash) of the player itself at soundcloud. I then have the proper code that needs to be put where I want it on top of my image.
    Is there a simple piece of code, or a way in Dreamweaver to accomplish this in an easy way?
    Thanks in advance!

    Here is the widget code for HTML5 for the first one:
    <iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F63420632&c olor=c51c64&auto_play=false&show_artwork=false"></iframe>
    Flash if needed:
    <object height="81" width="100%"><param name="movie" value="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F63 420632&color=c51c64&auto_play=false&show_artwork=false&show_playcount=true&show_comments=t rue"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" src="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F63 420632&color=c51c64&auto_play=false&show_artwork=false&show_playcount=true&show_comments=t rue" type="application/x-shockwave-flash" width="100%" height="81"></embed></object><span><a href="http://soundcloud.com/groovefunkel/the-human-league-vs-elo-vs">The Human League vs. ELO vs. Lady Gaga - Don't You Want Me Evil This Way</a> by <a href="http://soundcloud.com/groovefunkel">groovefunkel</a></span>
    Second one: (HTML5)
    <iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F57922474&c olor=c51c64&auto_play=false&show_artwork=false"></iframe>
    Flash:
    <object height="81" width="100%"><param name="movie" value="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F57 922474&color=c51c64&auto_play=false&show_artwork=false&show_playcount=true&show_comments=t rue"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" src="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F57 922474&color=c51c64&auto_play=false&show_artwork=false&show_playcount=true&show_comments=t rue" type="application/x-shockwave-flash" width="100%" height="81"></embed></object><span><a href="http://soundcloud.com/groovefunkel/adele-vs-hall-and-oates-1">Adele vs. Hall and Oates - Maneater Won't Go</a> by <a href="http://soundcloud.com/groovefunkel">groovefunkel</a></span>
    And finally, here is a link to the jpeg image:
    http://www.mediafire.com/view/?z2bngmtiikmi9k9  (only 2mb files were permitted to be uploaded here directly)
    You can probably see where I want the player to overlay...below the text and to the right of the artwork.  I will have the image centered on the screen.
    I greatly appreciate your help!
    Thanks again,
    David

  • How to get crisp jpeg images for slideshow on a Mac with Final Cut?

    Hi, I imported a large number of jpegs into Final Cut Pro and when I export to Quicktime Movie (not modifying the sequence size or settings I notice the quality of the jpeg images looks rather washed out and a bit fuzzy. The image dimensions of the jpegs are actually 2848 x 4272 and I was originally using a sequence setting of 720 by 480 (which scaled the images to about 12%). I experimented with doubling the sequence setting to 1440 by 960 and scaled the images to about 25.5% - still a bit washed out look.
    Basically this will be a presentation on a computer and output via projection. Looking for best possible and clearest photos. I experimented with iPhoto and when you play a slideshow it looks very crisp - this is what I am aiming for. When I export using the Slideshow export at the largest size 640 by 480 in iPhoto to quicktime - the quality seriously deteriorates.
    What would be the best way to maintain the crispness of the photos in Final Cut for an export to Quicktime that would be show on a Mac via a projector? Thank you

    Hi Nick, I do see information on creating a slideshow with Quicktime at: http://www.apple.com/quicktime/tutorials/slideshow.html
    however it appears Quicktime X removed that capability. There is no 'open image sequence' option from the File menu in Quicktime X.
    If I do end up sticking with Final Cut - would you recommend any codec and/or dimension size that would result in the best quality or the most crisp image? I also need a few fade in's and out's on various parts - I don't believe I would have the control without Final Cut.
    Would resizing the image files in Photoshop to 1920 pixels by 1280 before importing them into Final Cut result in crisper images? Thanks.

  • Imported JPEG images are too light

    Imported JPEG images appear lighter/brighter than the scanned image.
    How can I make JPEG images appear with the correct lightness/brightness so they look like the actual book or magazine from which they were scanned?
    Using Apple's "Preview" to look at a JPEG- everything looks fine. But when a JPEG is imported into Motion 4.0.3 (and/or Final Cut Pro 7.0.3), the image appears lighter/brighter, as if it's washed out. To see if this is just the way a JPEG appears in Motion and not how the finished product will be, I exported a Motion project with one or more JPEGs as a QuickTime movie. The QuickTime movie does not bring the JPEG image(s) back to the "correct" lightness/brightness as the scanned image.
    Settings used:
    JPEG image, using a CanoScan LiDE 210 scanner, Color Space: RGB, Color Profile: sRGB IEC61966-2.1, current Monitor Gamma setting on the scanner is set to 1.80
    How can I make JPEG images appear in Motion (and Final Cut Pro) so they are true to the source from which they were scanned?

    Does it do the same thing when you use TIFFs?
    Patrick

  • How can I load a CMYK jpeg image

    How can I load a CMYK jpeg image (originally saved from Photoshop) and then
    turn it into an rgb BufferedImage, in order to display it on screen in an
    applet?
    I first tried ImageIO.read(), but that does not work for cmyk jpegs. I then
    looked into the com.sun.image.codec.jpeg package, and tried methods like
    decodeAsBufferedImage() and decodeAsRaster().
    The first one (decodeAsBufferedImage) returned an image, but it seems that
    it was interpreted as an ARGB, and the colors were incorrect.
    I then read the documentation which (amongst many other things) stated that
    "If the user needs better control over conversion, the user must request the
    data as a Raster and handle the conversion of the image data themselves."
    This made sense, so I took to decodeAsRaster(), only to find that I could
    not figure out how to carry out the desired conversion.
    Of course, I have looked into the documentation for BufferedImage, Raster,
    ColorModel, ColorSpace etc, but after a while I was lost. (Before I got lost
    I read that you can convert images with the help of methods like toRGB,
    toCIEXYZ.)
    I have a feeling that this is probably pretty simple if you just know how to
    do it, but I sure would need some directions here.
    Any help would be appreciated. Thanks.

    You can either use the "Place" command from the main menu, under "File", or you can just open it, select the move tool "V", the click in the image and drag it to the other file's tab.

  • Exporting image from FCP 16.9

    i am exporting still images from FCP and they are sqooshed , they look more like 4.3 aspect ratio. i know I converted them to 16.9 on the desktop with preview, but i can't reproduce that...any ideas, I don't want to get graphic converter, it's just a few shots.
    CB

    Open them in QT Player 7 then select Window>Show Movie Properties>Video Track.
    Change Scaled Size to the correct figures, deselect Preserve Aspect Ratio and hit return.

  • Problem displaying CMYK jpeg images

    I have a problem with a CMYK jpeg image.
    I know that about supported JPEGs in JRE - JCS_CMYK and JCS_YCCK are not supported directly.
    And I found here how to load the image:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4799903
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5100094
    I used both the suggestions described to load it, but when the image is displayed the colors are wrong, are very different from the one displayed in PhotoShop, for example.
    Any suggestion are very appreciated. If it's necessary i can send you the image.
    Roberto
    Here is the code
    package com.cesarer.example.crop;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.io.*;
    import java.util.Iterator;
    import javax.imageio.ImageIO;
    import javax.imageio.ImageReader;
    import javax.imageio.stream.ImageInputStream;
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    public class CroppingRaster extends JPanel
        BufferedImage image;
        Dimension size;
        Rectangle clip;
        boolean showClip;
        public CroppingRaster(BufferedImage image)
            this.image = image;
            size = new Dimension(image.getWidth(), image.getHeight());
            showClip = false;
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int x = (getWidth() - size.width)/2;
            int y = (getHeight() - size.height)/2;
            g2.drawImage(image, x, y, this);
            if(showClip)
                if(clip == null)
                    createClip();
                g2.setPaint(Color.red);
                g2.draw(clip);
        public void setClip(int x, int y)
            // keep clip within raster
            int x0 = (getWidth() - size.width)/2;
            int y0 = (getHeight() - size.height)/2;
            if(x < x0 || x + clip.width  > x0 + size.width ||
               y < y0 || y + clip.height > y0 + size.height)
                return;
            clip.setLocation(x, y);
            repaint();
        public Dimension getPreferredSize()
            return size;
        private void createClip()
            clip = new Rectangle(140, 140);
            clip.x = (getWidth() - clip.width)/2;
            clip.y = (getHeight() - clip.height)/2;
        private void clipImage()
            BufferedImage clipped = null;
            try
                int w = clip.width;
                int h = clip.height;
                int x0 = (getWidth()  - size.width)/2;
                int y0 = (getHeight() - size.height)/2;
                int x = clip.x - x0;
                int y = clip.y - y0;
                clipped = image.getSubimage(x, y, w, h);
            catch(RasterFormatException rfe)
                System.out.println("raster format error: " + rfe.getMessage());
                return;
            JLabel label = new JLabel(new ImageIcon(clipped));
            JOptionPane.showMessageDialog(this, label, "clipped image",
                                          JOptionPane.PLAIN_MESSAGE);
        private JPanel getUIPanel()
            final JCheckBox clipBox = new JCheckBox("show clip", showClip);
            clipBox.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    showClip = clipBox.isSelected();
                    repaint();
            JButton clip = new JButton("clip image");
            clip.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    clipImage();
            JPanel panel = new JPanel();
            panel.add(clipBox);
            panel.add(clip);
            return panel;
        public static void main(String[] args) throws IOException
             File file = new File("src/ABWRACK_4C.jpg");
             // Find a JPEG reader which supports reading Rasters.
            Iterator readers = ImageIO.getImageReadersByFormatName("JPEG");
            ImageReader reader = null;
            while(readers.hasNext()) {
                reader = (ImageReader)readers.next();
                if(reader.canReadRaster()) {
                    break;
         // Set the input.
            ImageInputStream input =
                ImageIO.createImageInputStream(file);
            reader.setInput(input);
            Raster raster = reader.readRaster(0, null);
             BufferedImage bi = new BufferedImage(raster.getWidth(),
                    raster.getHeight(),
                    BufferedImage.TYPE_4BYTE_ABGR);
             // Set the image data.
             bi.getRaster().setRect(raster);
            // Cropping test = new Cropping(ImageIO.read(file));
             CroppingRaster test = new CroppingRaster(bi);
            ClipMoverRaster mover = new ClipMoverRaster(test);
            test.addMouseListener(mover);
            test.addMouseMotionListener(mover);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JScrollPane(test));
            f.getContentPane().add(test.getUIPanel(), "South");
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class ClipMoverRaster extends MouseInputAdapter
        CroppingRaster cropping;
        Point offset;
        boolean dragging;
        public ClipMoverRaster(CroppingRaster c)
            cropping = c;
            offset = new Point();
            dragging = false;
        public void mousePressed(MouseEvent e)
            Point p = e.getPoint();
            if(cropping.clip.contains(p))
                offset.x = p.x - cropping.clip.x;
                offset.y = p.y - cropping.clip.y;
                dragging = true;
        public void mouseReleased(MouseEvent e)
            dragging = false;
        public void mouseDragged(MouseEvent e)
            if(dragging)
                int x = e.getX() - offset.x;
                int y = e.getY() - offset.y;
                cropping.setClip(x, y);
    }

    The loading process It takes about 10 seconds, and every repaint it takes the same time.The painting yes, the loading no. It shouldn't take much more time to load the image then an ordinary JPEG. In particular, your now using a "natively accelerated" JPEG image reader, so it should take less time on average to load any JPEG. 10 seconds is absurd. Are you sure your not including the drawing time in that figure?
    - Another problem: JAI-ImageIO is not available for MAC OS X platform.This is somewhat true. You can take the imageio.jar file and package it together with your program (adding it to the class path). This will give you most of the functionality of JAI-ImageIO; in particular the TIFFImageReader. You just won't be able to use the two natively accelerated ImageReaders that comes with installing.
    Right now, you're using the accelerated CLibJPEGImageReader to read the image. You can't use this image reader on the MAC, so you have to take the approach mentioned in the 2nd bug report you originally posted (i.e. use an arbitrary CMYK profile).
    The conversion is too long more than 30 seconds.The code you posted could be simplified to
    BufferedImage rgbImage = new BufferedImage(w,h,
                BufferedImage.3_BYTE_BGR);
    ColorConvertOp op = new ColorConvertOp(null);
    op.filter(cmykImage,rgbImage);But again, 30 seconds is an absurd value. After a little preparation, converting from one ICC_Profile to another is essentially a look up operation. What does,
    System.out.println(cmykImage.getColorModel().getColorSpace());print out? If it's not an instance of ICC_ColorSpace, then I can understand the 30 seconds. If it is, then something is dreadfully wrong.
    the RGB bufferedImage that i get after the transformation when it is displayed is much more brightThis is the "one last problem that pops up" that I hinted at. It's because some gamma correction is going on in the background. I have a solution, but it's programming to the implementation of the ColorConvertOp class and not the API. So I'm not sure about its portability between java versions or OS's.
    import javax.swing.*;
    import java.awt.color.ICC_ColorSpace;
    import java.awt.color.ICC_Profile;
    import java.awt.image.BufferedImage;
    import java.awt.image.ColorConvertOp;
    import javax.imageio.ImageIO;
    import java.io.File;
    public class CMYKTest {
         public static void main(String[] args) throws Exception{
            long beginStamp, endStamp;
            //load image
            beginStamp = System.currentTimeMillis();
            BufferedImage img = ImageIO.read(/*cmyk image file*/);
            endStamp = System.currentTimeMillis();
            System.out.println("Time to load image: " + (endStamp-beginStamp));
            //color convert
            BufferedImage dest = new BufferedImage(img.getWidth(),
                                                   img.getHeight(),
                                                   BufferedImage.TYPE_3BYTE_BGR);
            beginStamp = System.currentTimeMillis();
            sophisticatedColorConvert(img,dest);
            endStamp = System.currentTimeMillis();
            System.out.println("Time to color convert: " + (endStamp-beginStamp));
            //display
            JFrame frame = new JFrame();
            frame.setContentPane(new JScrollPane(new JLabel(new ImageIcon(dest))));
            frame.setSize(500,500);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
        public static BufferedImage sophisticatedColorConvert(BufferedImage src,
                                                              BufferedImage dst) {
            ICC_ColorSpace srcCS =
                    (ICC_ColorSpace) src.getColorModel().getColorSpace();
            ICC_Profile srcProf = srcCS.getProfile();
            byte[] header = srcProf.getData(ICC_Profile.icSigHead);
            intToBigEndian(ICC_Profile.icSigInputClass,header,12);
            srcProf.setData(ICC_Profile.icSigHead,header);
            ColorConvertOp op = new ColorConvertOp(null);
            return op.filter(src, dst);
        private static void intToBigEndian(int value, byte[] array, int index) {
                array[index]   = (byte) (value >> 24);
                array[index+1] = (byte) (value >> 16);
                array[index+2] = (byte) (value >>  8);
                array[index+3] = (byte) (value);
    }

  • Why are my jpeg images lighter in Bridge than in photoshop?

    Have tried all the options suggestion in a similar issue in 2012 without success. Been onto Adobe chat 3 times.  Raw images look okay in Bridge but when opened and saved as jpegs, in Bridge they look much lighter but jpegs look okay when opened in photoshop.

    If you are judging the image with the thumbnail you have them set to embedded.  They will not show edits made in raw.  Have to set to HQ (icon right side of screen 2 boxes and down arrow). 
    Embedded are smaller and faster so you have to decide what is your best option. 

  • How to save Byte Array of raw data into JPEG image.

    Hello!
    I have a image and I stored its data as byte array as
    bimage = bitmap1.getRawData();
    now I have Byte[] bimage, I want to save it as .jpeg image.
    and show that image..............

    the short way is this:
    ImageIO.write(bimage, "jpeg", new File("image.jpg"));
    Where you use the original Image object... but it has to be a java.awt.image.RenderedImage (which a java.awt.image.BufferedImage is). So this method would come in handy.
         public static BufferedImage getBufferedImage(Image img) {
              // if the image is already a BufferedImage, cast and return it
              if((img instanceof BufferedImage) && background == null) {
                   return (BufferedImage)img;
              // otherwise, create a new BufferedImage and draw the original
              // image on it
              int w = img.getWidth(null);
              int h = img.getHeight(null);
              BufferedImage bi = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
              Graphics2D g2d = bi.createGraphics();
              g2d.drawImage(img, 0, 0, w, h, null);
              g2d.dispose();
              return bi;
         }If the byte array you have is raw image data, then you can look at the javax.imageio package and see what you can do with those classes.

Maybe you are looking for

  • Mid 2010 Macbook Pro Graphic Card(GT 330M) Temporary Fix

    Have seen lot of Posts regarding this issue to which i found a temporary fix and thought might be helpfull to someone else I am with a Mid 2010 Macbook Pro 2.66 i7 4gb ram Nvidia Geforce gt 330m / Intel HD Graphics(228 mb) Lion 10.7.2 its been above

  • How do I install new filters in Pixel Bender

    How do I get the new filters in the pixel bender menu? I download them from Pixel Bender Exchange but there are no instructions.I can't find them anywhere with google searches. I tried just unzipping the files and putting the pbj and pdk files into t

  • How to Draw table in SAPscript ???

    Hi all Guru of SAPScript! I want to draw a table with column and row in SAPscript. Who can help me step by step? Thanks! Edited by: kathy a on May 6, 2008 11:53 AM

  • Really ****** off - iTunes won't start?

    Okay, so I had iTunes 7.4 or something like that, maybe it was 7.1... Not really sure... And for christmas I got a new iPod Nano 4G 8gb, which required my iTunes to be atleast ver. 8.0, so I upgraded it. The upgrade went fine, but when I was browsing

  • How to elimate duplicates in Check tables?

    Is it possible to disallow duplicate records when creating search help drop downs on the selection screen? Thanks! Jeff