Use image from Aperture in Xcode image well

Is it possible to extract an image from Aperture and display this image in an Xcode image well?
I have a script that searches for and extracts a required image in the format:
image version id B4bCHCfeR969OQ7SEcUsOQ of library id LibraryFolder
I now want to display the image in an ApplescriptObjC project, how do I build a path to the image well?
Hope this makes sense, as usual, any help gratefully received.

Frinton Fogey wrote:
I have been trying to use that same script but changing selcting an image to searching for an image but it won't work, please show me the error of my ways!
set theImage to "Image 1"
tell application "Aperture"
          set ims to every image version
          set names to {}
          repeat with i from 1 to count of ims
                    set n to get the name of item i of ims
                    set names to names & n
          end repeat
          set imageSel to first image version whose name is theImage
          export imageSel using export setting "JPEG - Original Size" to (path to desktop)
end tell
Giving this a closer look you could condense the script down to
set theImage to "IMG_08067"
tell application "Aperture"
          try
                    set imageSel to first image version whose name is theImage
          on error errTxt number errNum
                    display dialog "Error: " & errNum & return & errTxt
                    tell me to quit
          end try
       export imageSel using export setting "JPEG - Original Size" to (path to desktop)
end tell
You don't appear to be doing anything with the repeat loop or variables and you're always taking the first image you find with the name.
So here we look in the whole library for an image with the name and if we find it we export it. The try/error block is to catch times that the name you are looking for isn't in the library.
regards

Similar Messages

  • Using fotos from aperture in indesign

    how can i use pictures from my aperture-library in indesign?
    when i create a frame in indesign, press cmd-d for placing an object in the frame, i'd like to navigate to the picture i want. but that's not possible any more since the aperture library is a package and can't be opened in the import-dialog of indesign.
    in iphoto i was used to search a picture, copied the name of it, opened indesign, cmd-d, pasted the name of the picture in the search-dialog and it worked fine. in aperture that doesn't work ...
    Message was edited by: Wolfgang Matzl

    Have you tried using the Media Browser?
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    +*(Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)+*
    Note that this yields the Aperture previews. If you want anything else you'll need to export from Aperture.
    Regards
    TD

  • Use photos from Aperture 3 as Wallpapers problem

    I chose photos from Aperture projects as desktop wallpaper by right-clicking on desktop>change desktop background. But the photos all shrank to maybe half size on desktop. I used to store my wallpapers in iphoto, so I can process them a lit bit when I want to. I am planning on migrating from iphoto to aperture 3, and I know aperture 3 can do a much better job in processing. But unable to display wallpapers in right size really bothers me. Anybody can help with this? Thanks in advance.

    You might find reading [this article|http://support.apple.com/kb/HT3781|Aperture 3: How to optimize Aperture for the best looking slideshow] useful in expanding on what PilotGuy74 has said. Although it's written about slideshows, what they explain there applies to your wallpapers situation too.
    I have already missed the simplicity of iphoto. Maybe aperture is just too pro to me.
    Don't be put off. Aperture is a very complex powerful application - you can't expect to learn how to use it all, all at once. Take it a bit at a time. Learn a little as you go and you'll find that, over time, you will develop your skills with it.
    Regards,
    Gary

  • Using Photos from Aperture in FCP X

    I am brand new to FCP X, and am trying to use photos that I have in Aperture.  When I bring the photos to the timeline, they are much smaller files that the files I have in Aperture.  How can I get the full version into my project in FCP?

    Thank you for your reply.  I tried that, and it did fill the frame, which will be very useful on this project. 
    The problem I am having is that in Aperture the photos are failry big, for example, in Aperture one image is 1.66 MB
    but when I see it in FCP it is a small file size, 49.6 KB:
    Any ideas?

  • Restored library in Aperture 3.1.2 using vault from Aperture 2.1.4; in the browser I can not see all the pictures, when i click on the empty frame in browser some of the picture do not appear, how do i fix this?

    I tried restore library using a 2.1.4 version vault in version 3.1.2 not all the pictures transferred; how can I fix it, I have 13,195 pictures?

    Perhaps run through the steps listed here and then let us know how you go.
    http://support.apple.com/kb/HT3805
    Tony

  • 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.

  • Can I import edited photos (and their raw originals) from Aperture in groups, like 5-star images from a project?

    I have 30,000 images in Aperture and it keeps crashing. I've run out of memory on my MacBook Pro running 10.8.6 and I want to switch over to Lightroom for all new photos and slowly migrate my best ones over to LR as well. I've edited many of my best shots already, probably 6000 or more, so I need to feel confident that cropping, editing, rating, and metadata will all migrate successfully.
    Also, can I load the Lightroom itself onto an external hard drive and keep all my images off my laptop? If I edit them, do the edits remain on my laptop regardless of where the originals reside. I think that's the issue that I'm running into with Aperture:  edits stay on my laptop even though originals are on an external HD.
    Thanks for your feedback on both of these matters.
    Todd Telford
    Cotati, CA

    Also, can I load the Lightroom itself onto an external hard drive and keep all my images off my laptop? If I edit them, do the edits remain on my laptop regardless of where the originals reside. I think that's the issue that I'm running into with Aperture:  edits stay on my laptop even though originals are on an external HD.
    Your photos can be on any hard disk, internal or external or network. If they are stored on an external hard disk, then when you import them into Lightroom, you select the ADD option and the photo will remain on your external hard disk. The edits are stored in your Lightroom catalog (as opposed to "remain on my laptop"). Once you import photos into Lightroom, you no longer want to manage them (move, copy, delete) using your operating system. You do all photo management in Lightroom.
    If you transfer the photos properly, your edits, cropping, metadata, etc. will transfer to Lightroom, but I will leave the details to some expert on Aperture.
    If I could offer some advice, I don't think you want to just transfer SOME of your photos to Lightroom. In my opinion, you want ALL of your photos managed by Lightroom, and not some in application 1 and some in application 2. This makes your life much easier when trying to find your photos, you don't have to think "Is this photo in Lightroom or is this in Aperture?"  (Note: this doesn't mean you have to import all the photos from Aperture into Lightroom in one HUGE operation; you can certainly do the importing in manageable sized groups)

  • Savings images from Aperture to external hard drive

    I have a basic question about the file structure on Aperture and mac's. I'm an old pc user, so I have not had a chance to investigate the structures yet and hoped I could get some guidance on this.
    If I import several images from a camera SD card into Aperture, the images are deleted when the import has finished. How do I later copy the images from Aperture to say an external hard drive?
    Appreciate the help.

    Bjorn -- welcome to the forum.
    Aperture is an image database.  The Aperture database is called a Library.  The database consists of a list of Images, the files needed to create those Images, and a whole bunch of data associated with each Image.
    The files needed are the originally imported file, and the set of instructions Aperture uses to "adjust" the original to create your adjusted Image.  On import, the original file becomes a Master.  The Master is _never_ altered (this is the "non-destructive" advantage of this kind program).  Aperture doesn't care where the Master is stored, as long as it can find it (it should be a locally attached drive).  If you let Aperture store the file itself, it puts it inside the Library.  If you tell Aperture where you want to store it (other than than in the Library), Aperture makes note of this by storing a pointer to the location you choose.
    Masters stored in the Library are called "Managed Masters".  Masters stored outside the Library are called "Referenced Masters".
    (The file listing the Adjustments is the Version.  The Version is always stored in the Aperture Library.  Versions are small text files.  The cost in storage and read-time is so minimal it can be ignored.)
    So:
    - Library (presumably in your Pictures Finder-folder)
    - - Master
    - - Version
    or
    - Library (presumably in your Pictures Finder-folder)
    - - Pointer to Master
    - - Version
    - Master (wherever you specify)
    There is no connection between Aperture and any data files that are not imported into the Library.
    If you make copies of your photograph files prior to import (an excellent practice), there is no connection between Aperture and the copy you do not import.
    Here is a short guide I posted to the parts of Aperture every new user should know well.  Read through it, and ask questions as you move forward.
    Note that making backup copies of your originals, copying or moving your originals, and making them Managed or Referenced Masters are all options presented in the Import dialogs.
    Message was edited by: Kirby Krieger

  • How do I print images from Aperture to the Canon MG6150?

    I have recently installed (i think correctly) a Canon MG6150 printer on my iMac but am having difficulty making it work correctly when photo printing (the wireless connection seems OK).  When printing from Aperture I can cause a print to be made but the printer prints very quickly and the colour balance is incorrect (it's too pale and not saturated).  I think maybe this is due to the wrong paper selection but i can find no way via the Aperture menu of selecting the paper type being used.  According to my 1:1 trainer i should see a "Quality and Media" sub menu in Aperture when i print and from there i can select paper type etc.  However this "Quality and Media" sub menu is not present on my machine when printing from Aperture.  As an alternative i've tried printing from the Canon Easy Photo Print EX utility but each time i try this i have to go through a lengthy process of identifying my region and country before reaching the select images screen.  Once there i am unable to find my Aperture files and hence cannot select any images, nor go onto the next stage which seems to be selecting the paper type.  All this would be very arduous to use (lots of keystrokes) - am i missiing something?
    Also when installing my Canon software from the supplied disc i was referred to the Canon website which said that there were driver updates coming along to sort out some bugs associated with Lion OS (which i'm using).  As i understand it these new drivers are not available until sometime during October and hence i haven't been able to download any as yet.
    Any help greatfully appreciated as i'm fast running out of hair.   Thanks a lot.

    The same way you would export to any file system:
    Connect the flash drive and once it is mounted you can export to it in the regular manner.

  • Why can I no longer import EDITED photo from my iPad to my Mac using Image Capture from Snapseed app?

    Why can I no longer import EDITED photo from my iPad to my Mac using Image Capture? This is farcical and a real problem having to email them individually to myself and is totally inefficient time wise compared to previously using image capture! Why change this when it was working well and very quickly until the latest change. Now I have to move files from downloads into an appropriate folder, after emailing each individual edited image to myself, then I have to open in Photoshop and rename the file. This is ludicrous and takes forever to do!

    Thank you! I suppected it would be in the settings somewhere. I' ve much to learn...get myself into trouble pushing buttons I don't really understand.

  • How do I remove images from aperture?

    Totally new to apple and aperture so I apologise if this seems like a somewhat noob question but how do I remove images from aperture (using the latest version, 3.4.1)? Coming from a PC and using lightroom I'm used to being able to remove images in two ways:
    - removing the image from the "library", so that it no longer shows up in the program at all but is still on your hard drive (when I say removing it from the program entirely, I mean entirely, i.e. not sitting in a trash can or some other place where it's still taking up memory)
    - deleting the original image off the hard drive
    Is it possible to do either of these things in aperture, on both just a single image or a selection of multiple images, and if so how? I've tried googling this already and am getting a bunch of mixed solutions, none of which have really worked so far, so any answers would be appreciated. Thanks!

    The answer partially depends on whether you have a managed or referenced library. Since you're totally new to Aperture, I'm assuming you have a managed library since that's the default.
    FYI: Managed means Aperture handles image files and places them inside the library file. Referenced means you manage the image files and Aperture only points to (references) them.
    For a managed library, select an image you want to delete. Type command-delete. (That's the reverse delete key next to the "=" key). (You can also right-click an image and choose Delete Version) That will remove the images from their Project and place in the Aperture Trash. They're still taking up space in the Trash. If you really want them gone for good, right-click the Trash in the library pane and select Empty Trash. Poof.
    For a reference library, I forgot the exact details since I don't use this type of library, but you'll be asked (or can check a box) to delete the original file from the disk.

  • Using Image Capture to download photos from iPhone--Date Sort

    Hi,
    I have over 2000 photos on my 3G iPhone and I use Image Capture on the Mac to pull them off.
    Since I have so many photos going back a couple years, the file names have repeated, so if I sort by File Name, stuff from last year is mixed in with this year, etc.
    Also, if I sort by date, Image Capture sorts by MONTH-DAY-YEAR, therefore my latest photos are NOT at the top/botttom of the list!
    How can I change the date format in Image Capture so that I can sort by YEAR first?
    Thanks!

    OK, here is my new strategy:
    A new feature of Snow Leopard OSX 10.6 is that Image Capture (and iPhoto) will put a green check mark next to any photos already downloaded. Therefore, it makes it much much easier to figure out the new from the old.
    In addition to that, I went into my iPhone using PhoneView and reset the images back to IMG_00001. This required me to get rid of my thousands of photos on the iPhone, but oh well.
    So starting over seemed to be the best way to manage this mess.
    -out

  • Image files exported from Aperture do not arrive at Photoshop Elements 11

    In Aperture preferences, I have nominated PSE 11 as an external editor.
    When I try to send an image, I get the Adobe start-up window (even though PSE 11
    is already open), but the image from Aperture does not arrive.
    Can anyone suggest what I need to do, please?

    The odds are that you are using the wrong file as the external editor. You want this one:
    The easily visible file is the welcome screen alias.

  • Failed to obtain image version information from Aperture library

    Mac OS X 10.10.1 (yes, Yosemite...)
    Aperture 3.6
    Lightroom 5.7,1 (CC version)
    When trying to import some libraries from aperture I get this immediate response "Failed to obtain image version information from Aperture library".
    In the plug-in import window, Number of image/video files is "undetermined", as well as Disk space required.
    Tried with different Aperture libraries, but with the same negative result.
    The plug-in worked in previous Lightroom version or when it was a stand alone plug-in.
    Thnak you
    Stefano

    OK, here is the workaround I did to migrate all my images.
    1. I broke down my Aperture library into separate libraries based on year (highlight all the 2014 projects, for example, right click, and "export to library")
    2. Import each separate library into Lightroom, one at a time.
    3. Delete the year-based libraries - and leave your original library on the drive (in case you need it in the future).
    I found I had one project in my 2013 photos which was causing Lightroom's scan of my database to fail. So I ended up creating metadata riders for that one project and imported it after I got the rest of my images imported.

  • When trying to export a RAW image from Aperture to a jpeg, the jpeg file is completely black.

    I am trying to share some photos that I have taken.   I shot them in RAW and store them in Aperture that way.   I then tried to export the version to my desktop to be able to send to someone.   The export process went through just fine, but the jpeg file is just a black image.   I have tried this with several different images with the same result.  
    I have done this a million times in the past with no problems.   I don't know what is different now.
    Thanks for any help you can provide.

    As a work-around: are the jpegs ok, if you simply drag the images that you want to export from Aperture's browser to your Desktop?
    What is your Aperture version?
    And which export preset are you using? Check, if your "Export preset", for example "JPEG original size"  has been changed. Have you perhaps added a watermark, that could be occluding the image?

Maybe you are looking for

  • File-Jdbc scenario

    Dear Friends,          I am performing Simple File to JDBC scenario. For this I am using MySql. I have designed and configured all the required steps and activated. Now I went to Runtime Work Bench monitoring.. Here in Message monitoring status is "w

  • HP DV-6822TX heating and randomly shutting down

    Hi, Ive had this HP DV6822TX for over 3 years now and its been working happily. Ive had Windows 7 for over 6 months and its been all hunky dory. Recently, Ive noticed that the back of laptop heats quite a lot and sometimes it shuts down and doesn't w

  • Importing audio via USB

    This may not be the right forum for this question, but I really don't know where to post it. I bought a sony turntable to convert traditional records into digital files. The problem is that it came with PC software but no Mac software. I'm wondering

  • Check DB - Error

    Dear Gurus, when i run check DB process on DB13 it was completed with following errors. 1. BR0973W Database operation alert - level: WARNING, operation: cdytxcet.cln, time: 2008-09-10 01.00.19, condition: Last successful 'cln' operation older than 10

  • How to store and access lots of photo's on my 256Gb Mac?

    I need to store 320Gb of photos and access these via my Mac.. Any suggestions on the best way to do this and back-up photo's with Time Capsule?