Dragging Images Out Of Aperture 3 Halves Resolution?

When I drag my images out of Aperture 3 into Photoshop or onto my desktop, it halves the resolution and drops the dpi to 72. If I put the image back in Aperture and repeat the process, the resolution halves again. Any idea as to why?

, but when you're doing a lot of editing, it's easier and faster [I find] just to drag it out into photoshop.
You could set up Aperture to use Photoshop as external Editor:
Just set the external Editor to "Photoshop" in Preferences > Export > External Editor.
Then you just need to right-click the images in Aperture and select "Edit with Photoshop" from teh contextual menu.
And the edited image will be recognized by Aperture as a version of the Image in Aperture.

Similar Messages

  • Want to clear images out of Aperture and start over

    Probably a dumb question, but I "played" around with Aperture-- imported some images etc and even have a couple of projects.
    However, after doing some study-- listening to tutorials I would like to start over.
    How can I clear everything out without losing anything.
    Thanks for any help you can give me

    I found the vault getting rather large and in 1.5 you can have your masters in different folders or hard drives.
    Under the 'File' menu you can select 'Relocate Master'. So select the project you want to move, choose 'Relocate Master' from the 'File' menu and Aperture moves the masters & versions from the Vault to the location of your choice. I gaind a lot of hard drive space doing this, relocating masters to another drive.

  • Transferring images out of Aperture library

    I recently acquired Aperture and plan to import my existing library into the Aperture library. My existing library consists of a lot of .nefs and almost as many jpgs. Once my existing library is imported I plan to let Aperture manage and backup the images in a vault, and delete my old library file structure (after waiting long enough to be confident everything is safe).
    My question: is it possible to pull an old jpg out of the Aperture library and insert it into another program without opening Aperture? For example, if I want to put an image in a greeting card, is there any way I can go into the Aperture library through the Finder to locate and transfer the image?
    Thanks!
    Steve

    Yes, but it isn't elegant.
    Right click on the Aperture Library and select "Show package contents"
    Pick the Project and again, right click and select "Show package contents"
    Then, out of the list of folders, one per image, try and figure out what image you need (or Spotlight if you know the filename).
    There again, launching Aperture and exporting the image isn't that slow after all.
    Possible to do it with Automator/Applescript as well I believe. Unsure there is a script out there but quite likely.

  • Unable to drag and drop out of aperture

    Hi,
    As of a few days ago i've had a slight problem with my aperture libary.
    I can no longer drag and drop images out of aperture onto the desktop or other apps etc.
    I have not changed anything it was working fine until just recently - I haven't modified or done anything to change the behaviour.
    Aperture settings has previews enabled.
    I have attempted to regenerate previews by selecting images and clicking regenerate
    I have rebuilt permissions
    I have rebuilt the entire library
    I have re-installed aperture
    I have manually deleted previews and thumbnails from within the aperture library to force a rebuilt.
    Nothing works.
    I cannot drag out files
    with the exeption I can drag and drop files which have had edits done to it - so the original master has been edited and it's created a modified version.
    As I said - previews are enabled and I can also right click and export version or master without issues for any files.
    I have latest versions of aperture 3.

    Dan,
    can you please clarify  a few points?
    Aperture settings has previews enabled.
    Have you enabled "New projects automatically share Previews"?
    How is "Share Preview with iLife set"?
    I have manually deleted previews and thumbnails from within the aperture library to force a rebuilt.
    Has the rebuild worked?  Have you checked in the "Masters" folder, if the previews actually exist for the images, that will not be dragged?
    Have you checked each project in question, of the Previews for that project are enabled?
    Select each of the the projects in question and ctrl-click (right-click) the gear-icon in the upper right corner of the Library inspector. Check the setting for "Maintain previews for project".
    If the previews are disabled in that menu, you cannot drag previews from the library.
    Regards
    Léonie

  • Images dragged out of trash have low resolution

    Some Aperture images ended up in system, not Aperture, trash. Found them there and dragged them out only to find they have very low resolution now. Can't find a way to restore their original resolution. The "Masters" seem to have the same low resolution. For reference, the originals were over 24 mbs and the ones out of the trash were reduced to around 500 kbs.

    Whoops on the "solved" issue. My thinking was that the answer was that I deleted incorrectly, thus solving the mystery. Recovering the info via backup was then something else...if that makes sense. I hope nobody is turned off by the "Solved" notation. I know I look at those especially because they are solved whereas many other discussions just sort of fade away without a definite conclusion.
    To answer your questions:
    1. I used the delete commands, like "delete version", "delete masters and all versions".
    2. OS 10.6.8
    3. The library is on the computer's HD, but I have Time Machine and another external drive for the Vault feature.
    4. I have 5100 images, cannot locate where the actual size is and in any case would not know the "before" size to compare it with to see if the Masters went away or just hid.
    5. I have all the files I dragged out, haven't emptied the trash or deleted anything since I had this problem.
    6. The folders have various names I gave them or which were generated by the program, I guess, and none of them are labelled "masters". I have searched thru all folders and projects, and thru the photos and have not found the masters in question. I never generated a seperate "Masters" folder. Sounds like a good idea though.
    7. I originally migrated over from iPhoto, a messy process for me, but that was long ago. Since then I have only imported via cameras and never had a problem with that. The images in question, the 24mb ones, are from the newly supported raw files from a Sony Nex-7 and no problems with those images in general. Just a handful of them got lost. Most are just fine, so there is no pattern there.
    At some point, perhaps when Ap4 comes out, I would like to find a way to start completely over!
    I'll do the backup restoration thing when you advise me to go ahead, and again would appreciate any advice on the best way to do that. Never did it before. Thanks again, Carl

  • I want to get my original photos out of aperture and can't seem to find a way to do it, I can't locate an original folder, I understand that images I have edited won't be exported I just want to have a copy of my files out of the system

    I want to have my photo files all in one place.  I want them out of the Apeture libary structure.
    Thank you
    Joe

    Hello Joe,
    do you want to continue using Aperture or do you want to manage your images yourself?
    If you want to continue using Aperture, but to be able to browse your images without launching Aperture, then relocate your master image files:
    Select all images in the Browser
    Use the File menu:     File -> Relocate master        and select a folder, where you want to store the master image files.
    Be warned, that you must not edit, change, tag these files in any way, unless using Aperture itself to do the modification. Otherwise the link between master image files and version in Aperture may be broken.
    Make sure you have a working backup of your Aperture Library before you do that.
    But why do you want access to your images outside Aperture? Aperture as a digital asset management system is supposed to be able to manage you images in versatile a way, to give you access to all information you need. So what are you missing?
    Regards
    Léonie

  • Drag and drop movies out of Aperture?

    I imported my movies into Aperture and now I can't get them back out.  I tried to drag and drop them to the desktop but it only creates an 'info' file that's only a few kb large.  I want to move about 300 files out of Aperture and into iMovie where I have much more control.  Thanks in advance to anyone that can help.

    Think I figured out my own problem after screwing with it for a while...  It looks like exporting the MASTER files is what I needed to do.

  • Image Bands/Corruption in CS5 When Editing out of Aperture

    Not sure whether this issue is related to Aperture or just Photoshop, but I'm seeing some strange behavior in Photoshop when I edit an image out of my Aperture library.  Here are the steps I take to see the problem:
    1. In Aperture (3.1.1) I right-click an image and choose Edit with Photoshop CS5.  This creates a new version in PSD format for editing, since I maintain my images in an Aperture library.
    2. The image opens in Photoshop but the image is distorted.  I've attached an example:
    Note that this issue goes away when I change the zoom factor from 33% to 100%.
    I'm running:
    Photoshop CS5 12.0.2
    Aperture 3.1.1
    OS X 10.6.5 (Snow Leopard)
    15" Unibody MacBook Pro Intel 2.53 GHz Core 2 Duo
    I've tried both video cards (High & Low performance setting in Energy Settings): NVIDIA GeForce 9400M and 9600M GT
    Any help?

    I can just recommend general trouble-shooting.
    If the issue should be hardware-related (bad RAM for example), then it might be difficult …
    Boilerplate-text:
    As with all unexplainable Photoshop-problems you might try trashing the prefs (after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed) by pressing command-alt-shift on starting the program or starting from a new user-account.
    System Maintenance (repairing permissions, purging PRAM, running cron-scripts, cleaning caches, etc.) might also be beneficial, Onyx has been recommended for such tasks.
    http://www.apple.com/downloads/macosx/system_disk_utilities/onyx.html
    Weeding out bad fonts never seems to be a bad idea, either. (Validate your fonts in Font Book and remove the bad ones.)
    If 3rd party plug-ins are installed try disabling them to verify if one of those may be responsible for the problem.

  • Images removed from Aperture 2010

    1. On the hard drive upon which my vaults are stored, getting a directory called "Images removed from Aperture [name of vault]." Any ideas please as I've only just noticed these on a pretty organised system.
    2. My Aperture has always been slow, crashes several times a day even though it was bought new in Jan 2010 and is just back from the Genius bar and still doing the same. Any ideas?
    3. One of my largest libraries will no longer open. It was going through a repair and became stuck for a day so I closed it. Since then Aperture will no longer open via clicking on it in the Finder. It does have a vault (I'm guessing 95% up to date) associated with it, but I'm not sure if I should now go to the next step and open the Vault and restore from there (or however I do it).
    4. How best to organise my libraries, eg have one for every month (take huge number of images of my boys and client shoots) or have one per year with projects of months within. I have then albums for the events under those months. I don't (yet) use Folders as haven't found a use for that extra level or organisation, but should I?
    5. Is it ok to copy the contents of Show Package contents and use that to make an additional copy. I'd read that I could Show Package contents, then select all with "." a period, then select Kind.. Images and then just copy the contents to another directory. I'm thinking of this route given my unreliability of Aperture, original the trial then used the serial number to upgrade beyond trial.
    6. Should I reinstall Aperture using the serial number or by disk? Haven't done that before, as it was an internet download.
    Lots of Qs, my first post
    thanks
    Catherine

    catherinelacey wrote:
    1. On the hard drive upon which my vaults are stored, getting a directory called "Images removed from Aperture [name of vault]." Any ideas please as I've only just noticed these on a pretty organised system.
    These contains masters that were removed from the library between vault backup operations.
    2. My Aperture has always been slow, crashes several times a day even though it was bought new in Jan 2010 and is just back from the Genius bar and still doing the same. Any ideas?
    By Aperture you mean your computer system? Without more information it would be difficult to answer this. What did Apple say when you brought it in?
    If you got Aperture in Jan 2010 you started with version 2 correct? What version are you running now?
    3. One of my largest libraries will no longer open. It was going through a repair and became stuck for a day so I closed it. Since then Aperture will no longer open via clicking on it in the Finder. It does have a vault (I'm guessing 95% up to date) associated with it, but I'm not sure if I should now go to the next step and open the Vault and restore from there (or however I do it).
    Large libraries can take over a day to do repairs or updates. It's tough to wait but most times that's the best course of action. Have you tried to repair it again? If you can;t open it or repair it and you have a vault for it you might as well restore it. That's what the vault is for. If you decide to restore and have questions post back.
    4. How best to organise my libraries, eg have one for every month (take huge number of images of my boys and client shoots) or have one per year with projects of months within. I have then albums for the events under those months. I don't (yet) use Folders as haven't found a use for that extra level or organisation, but should I?
    This is a huge topic and best addressed in a separate post. There are plenty of resources covering this topic both in this discussion group, in the Aperture users manual and on the web. Familiarize yourself with them and than post back with specific questions.
    5. Is it ok to copy the contents of Show Package contents and use that to make an additional copy. I'd read that I could Show Package contents, then select all with "." a period, then select Kind.. Images and then just copy the contents to another directory. I'm thinking of this route given my unreliability of Aperture, original the trial then used the serial number to upgrade beyond trial.
    What your describing doesn't make sense from a systems standpoint. The most it would do, if it worked, is get out your image files and previews but in no way that Aperture could use unless you imported them. Even if it worked you would lose all your adjustments, keywords etc.
    It's never a good idea to go into the Aperture library at the package level. The smallest misstep can have bad outcomes. If you ever need to copy the library you just need to drag the .aplibrary file.
    6. Should I reinstall Aperture using the serial number or by disk? Haven't done that before, as it was an internet download.
    As long as you have the serial number you can install from either.
    Lots of Qs, my first post
    thanks
    Catherine
    It would be best if in future posts you tried to focus on a single issue. Long posts usually don't get the kind of response you would like as they can be hard for the reader to get through. Be specific and you're more likely to get multiple responses. You may want to take a look at [Help & Terms of Use|http://discussions.apple.com/help.jspa] to get some idea as to how these groups work.
    Good luck and welcome to the list.

  • IMovie 11 - Image quality issues / aperture thumbnails

    I'm importing images from my Aperture library into iMovie but for some reason the images are of a lesser quality than the original file.
    I've tried importing it directly using the Aperture preview panel on the right side of the iMovie screen, I have also tried to drag it from Aperture but both methods produce really bad quality images once imported. I right clicked on the clip after importing so that it would show me the file in Finder and it seems that they are referencing Aperture thumbnails which explains the quality. Why is iMovie doing this? Its useless if its going to use my thumbnails, I want my full images in HD!
    I did try to drag a drop from Finder to iMovie which seems to solve the problem although I still believe there is some quality loss its not as bad as it is using thumbnails. This is definitely not an easy process!!
    Am I doing something wrong here? It just seems silly that iMovie can't import an image with the original quality if it then is going to make an HD video.

    On Import you could try unchecking Optimize video and choose Full Size. Your disk space however will get eaten up incredibly quickly choosing these settings as each hour of video = 40GBytes of disk space. So be forewarned about how big those files will expand as they come off the MiniDV tapes.
    Another thing you will immediately see a difference in is how you move files from iMovie to iDVD. Share to iDVD while named in an intuitive way, is NOT the best way to get good quality DVDs out of iMovie. Instead you want to Share to Media Browser. Choose the Large Size setting. Then quit iMovie. Open iDVD, click the Media button, the Movies button. Find your project listed under the iMovie star icon and drag it into the iDVD project. Burn the Disc and see if you get a higher quality disk by Sharing to Media Browser instead of Share to iDVD.
    If you choose a Blu-Ray burner, also get a copy of Roxio Toast. The encoding to Blu-ray that Toast provides will be top notch and prevent you from making mistakes as the recordable Blu-ray disks are more expensive than DVDs. So every mistake will be expensive.

  • Drag & Drop - drag image fade effect

    I'm attaching drag image using InitializeFromBitmap in IDragSourceHelper and I noticed attached image get some kind of fade-out effect if width exceeds 300px, which itself isn't that bad, considering normal DPI settings. But this 300px isn't scaled with
    system DPI, so any drag image that I want to be opaque needs to be tiny.
    Is there any way to avoid applying this fade effect, or to make it respect DPI setting?

    Hi pault36225916,
    As per my understanding, you are using Acrobat X and want to add images directly into the PD document (correct me if I am wrong, please).
    If so, then you can follow the steps given below:
    1. Go to Tools > Content > Edit Object Tool
    2. Right-click the page and choose Place Image
    3. Choose any of these image formats: bmp, jpeg, gif, pcx, png, jpeg2000 or tiff
    4. Select an image file and click open.
    A copy of an image file appears on the PDF page with the same resolution as the original one.
    Hope the above information helps you.
    Let me know if you need further assistance.
    Regards,
    Anubha

  • IMAQ image out- what's the best way?

    Hello forum,
    I'm developing an interface to acquire a square image from an NI-DAQmx PCI 6221 on LabVIEW 7.0 and Windows XP. At present I am simply collecting my information from a physical sine wave generator on the bench, but eventually this will be used to process images from a CARS microscope.
    My problem is that I am trying to figure out a user-friendly way of "buffering" all previously acquired images in the session, and then choosing one several of them to save as an uncompressed BMP. At the moment I am using two image displays; one for the whole image overview (picture indicator) and one to pan around and zoom on fine details (IMAQ image indicator). The IMAQ image indicator is also outputting to an IMAQ browser window, which I have modified based on the Browser Example.vi which ships with LV. However, there are several difficulties with this method.
    Firstly, I'm not sure how to select an indexed image from the browser itself to save; the only way I can think of would end up wiring the IMAQ image out to the BMP writing VI, but that would only save the current image, and not necessarily the one the user wants.
    Secondly, I haven't quite got the hang of combining case structures, event structures and while loops yet, so there's a very specific order things have to be done in or the program hangs, (e.g.. you must press the buttons: Acquisition - Unlock Browser - Stop in that order, nothing else works properly), and I'm pretty sure I've set the browser up wrong because every time I finish with the acquisition window, an error message appears.
    Thirdly, it would be nice if I could hide the browser window until I've finished with the other window, but I can't seem to get IMAQ windshow to do that. I have boolean constants wired to Hide/Show and Set/Get but no matter what combination of false and true I use, the window appears anyway.
    I will attach the VI and subVIs to this post in a zipped folder, and would appreciate any help you could give me. General constructive criticism on my wiring, methods, Rude Goldbergs, etc, would also be appreciated if anyone has the time, as I'm still pretty new to LabVIEW.
    Thanks in advance!
    LabVIEW 2013, Windows 7
    He who asks the question is a fool for five minutes; he who does not ask the question remains a fool forever.
    Attachments:
    Image Acquisition VI 0.4.zip ‏187 KB

    DH is right about the difficulty in removing wind noise, but hoping it might prove useful, here is a hint I copied from a thread somewhere in this discussion list.
    How to export audio from Final Cut Express to (free) Audacity and back again after noise removal.
    1) download Audacity
    2) in fce timeline, place in and out points at beginning and end of audio
    3) select that audio clip, and that clip only
    4)file-export-using quicktime conversion, in the pop-up box format as aiff, 44.1kwh 16bit stereo
    5)open audacity, make sure box in bottom left corner says 44100
    6)file-import-audio
    7)go to file and select it, click choose
    8) select part of audio with just wind noise, then go to effects noise removal, click get noise profile etc.
    9)when satisfied, click file-export, click ok, close audacity
    10)Open fce, drag your audio clip to the right hand end of clip. Move playhead to the in marking. Go to File-import
    select your audio file, choose.
    11) file appears in fce browser. Drag from there to overwrite and the audio goes into the track, perfectly synced
    My apologies to whoever posted this hint, I tried to find the name to give credit. This really does work to get rid of room hum, but wind noise is a really different beast and this may not help. I suspect, as DH says, it will remove too much of the audio you want to keep. Hugh

  • How to drag image in left panel then drop into right panel??

    Dear friends.
    I have following code, it is runnable, just add two jpg image files is ok, to run.
    I tried few days to drag image from left panel then drop into right panel or vice versa, but not success, can any GUI guru help??
    Thanks.
    Sunny
    [1]. main code/calling code:
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class ImagePanelCall extends JComponent {
         public  JSplitPane ImagePanelCall() {
              setPreferredSize(new Dimension(1200,300));
              JSplitPane          sp = new JSplitPane();
              sp.setPreferredSize(new Dimension(1200,600));
              sp.setOrientation(JSplitPane.HORIZONTAL_SPLIT);
              add(sp);
              ImagePanel     ip = new ImagePanel();
              ImagePanel     ip1 = new ImagePanel();
              ip.setPreferredSize(new Dimension(600,300));
              ip1.setPreferredSize(new Dimension(600,300));
              sp.setLeftComponent(ip);// add left part
              sp.setRightComponent(ip1);// add right part
              sp.setVisible(true);
              return sp;
         public static void main(String[] args) {
              JFrame frame = new JFrame("Test transformable images");
              ImagePanelCall  ic = new ImagePanelCall();
              frame.setPreferredSize(new Dimension(1200,600));
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.getContentPane().add(ic.ImagePanelCall(), BorderLayout.CENTER);
              frame.pack();
              frame.setVisible(true);
    }[2]. code 2
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class ImagePanel extends JComponent {
         private static final Cursor DEFAULT_CURSOR = new Cursor(Cursor.DEFAULT_CURSOR);
         private static final Cursor MOVE_CURSOR = new Cursor(Cursor.MOVE_CURSOR);
         private static final Cursor VERTICAL_RESIZE_CURSOR = new Cursor(Cursor.N_RESIZE_CURSOR);
         private static final Cursor HORIZONTAL_RESIZE_CURSOR = new Cursor(Cursor.W_RESIZE_CURSOR);
         private static final Cursor NW_SE_RESIZE_CURSOR = new Cursor(Cursor.NW_RESIZE_CURSOR);
         private static final Cursor NE_SW_RESIZE_CURSOR = new Cursor(Cursor.NE_RESIZE_CURSOR);
         public Vector images;
         * Create an ImagePanel with two images in.
         * A MouseHandler instance is added as mouse listener and mouse motion listener.
         public ImagePanel() {
              images = new Vector();
              images.add(new TransformableImage("swing/dnd/Bird.gif"));
              images.add(new TransformableImage("swing/dnd/Cat.gif"));
              setPreferredSize(new Dimension(600,600));
              MouseHandler mh = new MouseHandler();
              addMouseListener(mh);
              addMouseMotionListener(mh);
         * Simply paint all the images contained in the Vector images, calling their method draw(Graphics2D, ImageObserver).
         public void paintComponent(Graphics g) {
              Graphics2D g2D = (Graphics2D)g;
              for (int i = images.size()-1; i>=0; i--) {     
                   ((TransformableImage)images.get(i)).draw(g2D, this);
         * Inner class defining the behavior of the mouse.
         final class MouseHandler extends MouseInputAdapter {
              private TransformableImage draggedImage;
              private int transformation;
              private int dx, dy;
              public void mouseMoved(MouseEvent e) {
                   Point p = e.getPoint();
                   TransformableImage image = getImageAt(p);
                   if (image != null) {
                        transformation = image.getTransformation(p);
                        setConvenientCursor(transformation);
                   else {
                        setConvenientCursor(-1);
              public void mousePressed(MouseEvent e) {
                   Point p = e.getPoint();
                   draggedImage = getImageAt(p);
                   if (draggedImage!=null) {
                        dx = p.x-draggedImage.x;
                        dy = p.y-draggedImage.y;
              public void mouseDragged(MouseEvent e) {
                   if (draggedImage==null) {
                        return;
                   Point p = e.getPoint();
                   repaint(draggedImage.x,draggedImage.y,draggedImage.width+1,draggedImage.height+1);
                   draggedImage.transform(p, transformation,dx,dy);
                   repaint(draggedImage.x,draggedImage.y,draggedImage.width+1,draggedImage.height+1);
              public void mouseReleased(MouseEvent e) {
                   Point p = e.getPoint();
                   draggedImage = null;
         * Utility method used to get the image located at a Point p.
         * Returns null if there is no image at this point.
         private final TransformableImage getImageAt(Point p) {
              TransformableImage image = null;
              for (int i = 0, n = images.size(); i<n; i++) {     
                   image = (TransformableImage)images.get(i);
                   if (image.contains(p)) {
                        return(image);
              return(null);
         * Sets the convenient cursor according the the transformation (i.e. the position of the mouse over the image).
         private final void setConvenientCursor(int transfo) {
              Cursor currentCursor = getCursor();
              Cursor newCursor = null;
              switch (transfo) {
                   case TransformableImage.MOVE : newCursor = MOVE_CURSOR;
                        break;
                   case TransformableImage.RESIZE_TOP : newCursor = VERTICAL_RESIZE_CURSOR;
                        break;
                   case TransformableImage.RESIZE_BOTTOM : newCursor = VERTICAL_RESIZE_CURSOR;
                        break;
                   case TransformableImage.RESIZE_LEFT : newCursor = HORIZONTAL_RESIZE_CURSOR;
                        break;
                   case TransformableImage.RESIZE_RIGHT : newCursor = HORIZONTAL_RESIZE_CURSOR;
                        break;
                   case TransformableImage.RESIZE_TOP_LEFT_CORNER : newCursor = NW_SE_RESIZE_CURSOR;
                        break;
                   case TransformableImage.RESIZE_TOP_RIGHT_CORNER : newCursor = NE_SW_RESIZE_CURSOR;
                        break;
                   case TransformableImage.RESIZE_BOTTOM_LEFT_CORNER : newCursor = NE_SW_RESIZE_CURSOR;
                        break;
                   case TransformableImage.RESIZE_BOTTOM_RIGHT_CORNER : newCursor = NW_SE_RESIZE_CURSOR;
                        break;
                   default : newCursor = DEFAULT_CURSOR;
              if (newCursor != null && currentCursor != newCursor) {
                   setCursor(newCursor);
         public static void main(String[] args) {
              JFrame frame = new JFrame("Test transformable images");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.getContentPane().add(new ImagePanel(), BorderLayout.CENTER);
              frame.pack();
              frame.setVisible(true);
    }[3]. code 3
    import java.awt.*;
    import javax.swing.*;
    import java.awt.image.*;
    public final class TransformableImage extends Rectangle {
         public static final int MOVE = 0;
         public static final int RESIZE_TOP = 10;
         public static final int RESIZE_BOTTOM = 20;
         public static final int RESIZE_RIGHT = 1;
         public static final int RESIZE_LEFT = 2;
         public static final int RESIZE_TOP_RIGHT_CORNER = 11;
         public static final int RESIZE_TOP_LEFT_CORNER = 12;
         public static final int RESIZE_BOTTOM_RIGHT_CORNER = 21;
         public static final int RESIZE_BOTTOM_LEFT_CORNER = 22;
         public static final int BORDER_THICKNESS = 5;
         public static final int MIN_THICKNESS = BORDER_THICKNESS*2;
         private static final Color borderColor = Color.black;
         private Image image;
         * Create an TransformableImage from the image file filename.
         * The TransformableImage bounds (inherited from the class Rectangle) are setted to the corresponding values.
         public TransformableImage(String filename) {
              ImageIcon ic = new ImageIcon(filename);
              image = ic.getImage();
              setBounds(0,0,ic.getIconWidth(), ic.getIconHeight());
         * Draw the image rescaled to fit the bounds.
         * A black rectangle is drawn around the image.
         public final void draw(Graphics2D g, ImageObserver observer) {
              Color oldColor = g.getColor();
              g.setColor(borderColor);
              g.drawImage(image, x, y, width, height, observer);
              g.draw(this);
              g.setColor(oldColor);
         * Return an int corresponding to the transformation available according to the mouse location on the image.
         * If the point p is in the border, with a thickness of BORDER_THICKNESS, around the image, the corresponding
         * transformation is returned (RESIZE_TOP, ..., RESIZE_BOTTOM_LEFT_CORNER).
         * If the point p is located in the center of the image (i.e. out of the border), the MOVE transformation is returned.
         * We allways suppose that p is contained in the image bounds.
         public final int getTransformation(Point p) {
              int px = p.x;
              int py = p.y;
              int transformation = 0;
              if (py<(y+BORDER_THICKNESS)) {
                   transformation += RESIZE_TOP;
              else
              if (py>(y+height-BORDER_THICKNESS-1)) {
                   transformation += RESIZE_BOTTOM;
              if (px<(x+BORDER_THICKNESS)) {
                   transformation += RESIZE_LEFT;
              else
              if (px>(x+width-BORDER_THICKNESS-1)) {
                   transformation += RESIZE_RIGHT;
              return(transformation);
         * Move the left side of the image, verifying that the width is > to the MIN_THICKNESS.
         public final void moveX1(int px) {
              int x1 = x+width;
              if (px>x1-MIN_THICKNESS) {
                   x = x1-MIN_THICKNESS;
                   width = MIN_THICKNESS;
              else {
                   width += (x-px);
                   x = px;               
         * Move the right side of the image, verifying that the width is > to the MIN_THICKNESS.
         public final void moveX2(int px) {
              width = px-x;
              if (width<MIN_THICKNESS) {
                   width = MIN_THICKNESS;
         * Move the top side of the image, verifying that the height is > to the MIN_THICKNESS.
         public final void moveY1(int py) {
              int y1 = y+height;
              if (py>y1-MIN_THICKNESS) {
                   y = y1-MIN_THICKNESS;
                   height = MIN_THICKNESS;
              else {
                   height += (y-py);
                   y = py;               
         * Move the bottom side of the image, verifying that the height is > to the MIN_THICKNESS.
         public final void moveY2(int py) {
              height = py-y;
              if (height<MIN_THICKNESS) {
                   height = MIN_THICKNESS;
         * Apply a given transformation with the given Point to the image.
         * The shift values dx and dy are needed for move tho locate the image at the same relative position from the cursor (p).
         public final void transform(Point p, int transformationType, int dx, int dy) {
              int px = p.x;
              int py = p.y;
              switch (transformationType) {
                   case MOVE : x = px-dx; y = py-dy;
                        break;
                   case RESIZE_TOP : moveY1(py);
                        break;
                   case RESIZE_BOTTOM : moveY2(py);
                        break;
                   case RESIZE_LEFT : moveX1(px);
                        break;
                   case RESIZE_RIGHT : moveX2(px);
                        break;
                   case RESIZE_TOP_LEFT_CORNER : moveX1(px);moveY1(py);
                        break;
                   case RESIZE_TOP_RIGHT_CORNER : moveX2(px);moveY1(py);
                        break;
                   case RESIZE_BOTTOM_LEFT_CORNER : moveX1(px);moveY2(py);
                        break;
                   case RESIZE_BOTTOM_RIGHT_CORNER : moveX2(px);moveY2(py);
                        break;
                   default :
    }

    I gave you a simple solution in your other posting. You never responded to the suggestion stating why the given solution wouldn't work, so it can't be that urgent.

  • Dragging images to the desktop copies image as .png instead of .jpg

    I have nearly identical computers at home and work. Both are XP Pro, with Firefox 3.6.
    When I drag an image out of a web page, onto the desktop, my home computer saves/names the image as a .jpg, but my work computer saves/names the image as .png.
    I want my work computer to save/name the image as .jpg. How do I change it?

    Do you get a real PNG file or a JPG file that has a .png file extension?

  • How to handle images stored /outside/ Aperture

    I am coming from a PC environment where my images were stored all over my hard drive in various folders and subfolders. I am part-way through organizing all of this in Aperture but I OFTEN find myself exporting images to folders on my desktop in order to upload them to FTP or edit them in Photoshop conveniently and as I move to working in something like an Adobe Suite that allows me to edit and link images I do see myself keeping images outside of Aperture.
    Can anyone help me out with how to manage this a little more practically (say by only keeping images on the desktop but not in the Documents Folder) and/or should I be trying to discipline myself down to keeping everything in Aperture? I find it relatively confusing to do it this way but am very interested in getting some advice on this.
    Thanks,
    Jon

    Jon,
    I used to have everything sorted with the top folder being 'Project 1', 'Project 2', 'Project 3', etc. with either all files in that folder, or sub-folders for each file type. This was pretty good, but eventually got out of hand once I had a couple hundred projects with all types of files in each folder and needed to find a specific file (say an Illustrator file I needed to work on).
    Now, I use the following structure for Adobe CS5 projects:
    Top level folder = 'Design Files'
    Second level folders = 'Photoshop Files', 'Illustrator Files', 'InDesign Files', 'Acrobat Files'
    Third level folders (inside each of the second level folders as needed) = 'Project 1', 'Project 2', 'Project 3', etc.
    This gives me all my PSD files inside one master 'Photoshop Files' folder divided by Project folders. If - for example - Project 1 has PSD files, AI files, IND files and PDF files, then there is a Project 1 folder under each of the second level folders for each program. This allows me easy access to either all files for a program by going to that folder, or I can run a dynamic search (smart folder) for a project and see all relevant folders for that project in the search results.
    The main reason I have it this way now is that I usually remember the file type (as mentioned above for an Illustrator file). I typically remember that I did an illustration, but can't remember the file name of the illustration or the project it went in for sure. My current structure shortens my search time considerably.
    Note - I can also use Bridge CS5 very easily for the Adobe CS5 files since it shows thumbnails of the actual file and I can visually search very fast that way.
    At home - with Aperture - I only hold the original images (pictures) that I started to work with. I don't keep any PSD, TIFF, PDF, PNG, etc. in the library. This is simply because Bridge is much better at showing those files with transparency if it exists, and Aperture stays a straight-forward image (picture) database for me.
    If I send an image to a plug-in or to Photoshop from inside Aperture, I do it for a specific purpose and then I complete the process and export it to one of the dedicated folders in Finder (typically to my Photoshop Files folder). If I really need to keep the layer work in a PSD file, then I will use the 'Save As' command from inside Photoshop to save out to a folder and then just trash the file Aperture sent to Photoshop. Although I have not had any real issues with Aperture holding PSD files in the past, I simply trust Adobe to handle their own files without relying on Apple's program to do it for me.
    As far as miscellaneous files (screenshots, scans, web icons), I really don't do many of those. I have a few scans which are not part of any project and just keep those in a two level folder (Art / Scans). For web icons, I would probably suggest going with the program you used for a folder (Photoshop Files?). Not sure what program or file type you are using for those (GIF, PNG - I don't work with web design so not real familiar with current practices for icon design for the web).
    For JPEG files, I use a second level 'JPEG files' folder for any JPEG's that are used in my design projects in a 'Project 1', 'Project 2', etc. folder (same as the other file types mentioned above). Although, I typically use PSD files as source files and then save out JPEG's on a case-by-case basis (similar to using Aperture as the source and exporting as needed).
    Since most of my design files are for InDesign projects, I complete the project by embedding all links in the document after having printed to PDF (and proof-reading prior to embedding). This protects against lost links if I need to work with the master file again for some reason. I can always place a new image or file in the document as needed and since I have a PDF of the file to send to collegues, the extra file size in the InDesign file after embedding is not a big deal.
    So, in summary; I use a top level folder (based on category; e.g., Design Files) and then organize by file type parent folders with dedicated project folders under those as needed. Works for the way I think.
    I hope that was somewhat clear.
    Message was edited by: CorkyO2 to change "top level file" to "top level folder" in summary.

Maybe you are looking for