Export Aperture Versions
I am trying to export Aperture Versions of RAW images for use in iPhoto and will likely edit them with Elements in the future, but need counsel on the file type to use.
I believe iPhoto(8) handles RAW but curiously this format is not available in the output preferences, and selecting TIFF balloons the size considerably. For instance, an original RAW image of 10MB swells to 29MB.
I'm sure I am missing something plainly obvious, but need a nudge to get there.
As I understand it, the only way to create a RAW file is with a digital camera. Which is kinda the point, that a RAW file represents the image information/file straight off the sensor with NO modifications at all. That's why we value RAW files; they're untouched, unprocessed, unscrewed up, and represent a clean slate or blank canvas from which to start our processing, err, process. Thats why you can't export an adjusted image as a RAW file; as it's been adjusted, it's no longer the RAW original.
If you're looking for a way to export your original (untouched) RAW file you can choose Export Master from the file menu, and if your original was a RAW file (not a Jpeg etc), Aperture will spit a copy of the original RAW file to wherever you specifiy. You can then import that file into iPhoto, but you'll be starting from scratch in terms of processing that image in iPhoto.
Alternately, you can export a jpeg, tiff, .psd etc of your adjusted RAW file using Export Version, and import that into iPhoto. From your post it sounds like you should:
Open your RAW file in Elements using the Open in External Editor command (in the Image menu), perform your adjustments in Elements, and then save a copy to the desktop.
Then import that Elements .psd file into iPhoto and keep working on the image from within iPhoto.
But that seems to be missing the point of Aperture, and missing out on the advantages. You'll have created perhaps 50MB worth of extra files, spent lots of time in work arounds, and seems to relegate Aperture to an image viewer like Adobe Bridge. It's like buying a new car so you've got a handy drinks holder or because you need some storage space about the size of a glove compartment, and what do you know, that new Honda has a glove compartment!
Keep all your adjustments in Aperture, you'll save space, time and hassle. If you absolutely need all the whizzbang Photoshop stuff Photoshop does, then storing, keywording and holding the file in iPhoto sounds like the best bet. From there you can take the image into and back from Elements when you need to, but each time it'll create a 25-50-ish MB Photoshop file.
Bummer huh? Which is why we have Aperture
I've never shared libraries between iPhoto and Aperture (or vice versa), but understand there are ways too (perhaps only the previews though), but maybe someone else can offer more info here?
Similar Messages
-
Exporting a Version from Aperture
This is driving me nuts. I've got a 5 meg Jpeg in Aperture that I'm trying to export a version of at it's original size. The version and the original are both exactly the same with no modifications at all. When I export version I choose "original size" but when it exports the file size ends up at 2.5 meg. It doesn't seem to matter which file I choose, the exported file size is always about half the original.
Any thoughts?Because you're dealing with JPEG compression. JPEG is a lossy compression; files will be re-compressed every time they are saved. There is no way to "guarantee" that a 5 MB JPEG file will be 5 MB when it's exported: You will never get the exact same size if a file is re-compressed.
If you want it to be larger than 2.5 MB for some reason, then set the export quality to 11 or 12 and you'll get a bigger file. It may not be much if any higher quality though. -
Aperture 3.6 not exporting jpg versions at 300dpi despite preset selected
Hi, Aperture 3.6 is not exporting jpg versions (of Nikon RAW) files at 300dpi despite 300dpi being selected in the preset.
Jpgs are being exported at 72dpi although Tiffs are being exported correctly.
I'm guessing it's a recurrence of the previous Aperture bug but while we wait for a fix, does anyone have a solution please?
I'm currently exporting Tiffs and then using a Photoshop batch action to save as jpgs - not a great workflow!
TIA
Steve
PS: Aperture 3.6, Yosemite 10.10.1, 27" iMac, 32Mb RAMSee Problem with Aperture 3.6 preset exports
-
How can I export several versions at the same time?
Greetings -
I'm looking for something that I may just be missing, and hoping someone here can point me in the right direction.
Basically, I'd like to be able to select an image in my library and export several versions at the same time. For example, I select a photo and export JPG, TIFF and PSD versions in one shot without having to run three separate export requests - essentially a batch action. I can't imagine that this isn't built in already - I'm just assuming that I'm missing something obvious.
Thanks in advance for any advice anyone might have.
John.Fwiw, I've not seen this requested before.
This kind of Export option is very typical, Kirby, when the rendering of the exported version will take a long time, for example for video or audio. Then you can share several formats at once, to render a version suitable for the web, for viewing on the computer, or the iPhone at the same time. That is really useful, if you render a movie at a full HD resolution and don't have to do it again for an iPhone/iPod version.
QuickTime 7 does this for the "File > Export for Web" option, for example. You can get three versions of your final movie at the same time.
And I just checked, the new iMovie Theater does this as well, when sharing a movie to the Theater:
When you add a movie, trailer, or clip to the Theater, iMovie creates versions of your movie tailored for local playback, playback on an iOS device, and streaming.
Come to think about it - exporting a webpage from Aperture will also export thumbnail sized images plus a larger version for downloading. -
Has anyone had trouble manipulating Nikon D750 raw image (NEF) in Aperture (version 3.6 500021000000000.3, Digital Camera RAW 6.0 - Build 761.5, Digital Camera RAW support 6000 - Build 136.1)
I used to be able to manipuplate Nikon Raw (NEF) images from a Nikon D70 and D3200 using Aperture, until the 70 died and the 3200 was stolen about 18 months ago. Recently I did two things: (1) I upgraded OS X to Yosemite and (2) purchased a Nikon D750. I have successfully imported NEF files from the camera to Aperture, but the images do not render/ cannot be opened/ manipulated. Instead, I see a black thumbnail for each imported image with a cassette recorder play icon in the center of each image.
I can view the NEF image in Finder preview mode, either directly when viewing the images on the camera SD card or after exporting the previously imported NEF image from Aperture to my desktop or user folder. Previously imported NEF image seem unaffected.
thanks.
D.The current Apple OSX 10.10 Yosemite and the current Aperture version 3.6 do not have support yet for importing Nikon d750 nef/raw files. It usually takes Apple six to eight weeks to release a new digital camera raw update file for new Nikon dslr models. Once that digital camera raw update file is finally released, update your current version of Aperture and that will allow you to import your d750 raw files. In the meantime, you have many workarounds. In my opinion, the easiest is to save images in duplicate nef/raw and jpeg image files to your SD cards.
And for now, just import the jpegs to Aperture 3.6 from your d750. Process your jpegs in Aperture - and hope your clients are happy with the jpegs and can wait for later nef/raw image processing. Be sure to save and do not erase your original SD cards that include the nef/raw and jpeg files - then when Aperture finally releases a new digital camera raw file update that includes the d750 - just insert your original camera SD cards into the computer platform and import the old d750 nef/raw files and edit/process them.
There are many other ways to proceed in the interim as well. You can always import your d750 nef/raw images into Lightroom (if it has been updated to convert the d750 nef files) and process them there. But for the time being, if you can afford to save and hold onto your original SD cards and wait for the inevitable Aperture digital camera raw update, this is a very easy and simple way to proceed. -
Export Aperture library objects to Finder folders
Inspired by the posted message by user http://discussions.apple.com/profile.jspa?userID=616539 I wrote a script that will do the following:
1. Sync Folders/SubFolders/Albums/Projects..etc hierarchy tree from Aperture to a Finder folders tree
2. At run-time the script will creates/append to a log file under (home directory)\Library\Logs\AppleScriptExportApertureLibrary.log
3. Exports all projects images versions with embedded metadata
4. Create a file system "hard links" for each photo in the respective Albums pointing to the project folder location in order to preserve space.
5. Compare modification date on the image files and modification date within Aperture and export only modified images in order to save time for a full sync/export.
6. In interactive mode you can select Export Folder location, Aperture Library location and Projects List (project list will contain project name and internal aperture project id).
7. In non-interactive (from command line) mode there are two arguments:
7a. "quiet" - exports all projects
7b. "quiet" "Project Information" - export only certain projects. the project information can be found in the log file.
8. Remove any images or folders from Finder export directory that do not exist in Aperture database any more.
Hopefully this would help anyone who is looking to export from Aperture on a regular basis. I am not sure how it will handle large amount of photos. I tested it with 3k+ photos.
Please note that you use this script at your own risk.
Here is the script code:
global theFoldersTree_G
global theLibraryPath_G
global theProcessedProjects_G
global theSelectedProjects_G
global theAllAlbums_G
global theScriptName_G
global Sqlite_G
global ApertureLibrary_G
global numExports_G
on run argv
set Sqlite_G to "/usr/bin/sqlite3"
set ApertureLibraryPath to POSIX path of (path to home folder) & "Pictures/"
set ApertureLibrary_G to ApertureLibraryPath & "Aperture Library.aplibrary/Aperture.aplib/Library.apdb"
set exportFolder to POSIX path of (path to home folder) & "Pictures/Aperture Exports/"
set theScriptName_G to "ExportApertureLibrary"
set theSelectedProjects_G to "ALL PROJECTS"
set theFoldersTree_G to {}
set theProcessedProjects_G to {}
set theAllAlbums_G to {}
set numExports_G to 0
logEvent("Started")
set theArgv1 to {}
set theArgv2 to {}
if (count of argv) ≥ 1 then
set theArgv1 to item 1 of argv
end if
if (count of argv) = 2 then
set theArgv2 to item 2 of argv
end if
logEvent("Passed ARGV 1: " & theArgv1)
logEvent("Passed ARGV 2: " & theArgv2)
if theArgv1 is not equal to "quiet" then
set theFile to (choose file with prompt "Please choose the Aperture Library file" default location POSIX file ApertureLibraryPath) as string
set ApertureLibrary_G to POSIX path of theFile & "Aperture.aplib/Library.apdb"
set exportFolder to POSIX path of (choose folder with prompt "Please choose the export folder" default location POSIX file exportFolder) as string
end if
logEvent("ApertureLibrary_G path is set to: " & ApertureLibrary_G)
logEvent("exportFolder path is set to: " & exportFolder)
try
tell application "Aperture"
logEvent("Getting list of project path information...") of me
set SqlStatement to "
select replace(A.ZLIBRARYRELATIVEPATH,'.approject',''),A.ZUUID
from ZRKFOLDER AS A
WHERE A.ZFOLDERTYPE=2
ORDER BY A.ZNAME"
set SQLProjectUUIDPath to DB_execute(SqlStatement) of me
set theProjectsOptions to SQLProjectUUIDPath as list
set end of theProjectsOptions to "ALL PROJECTS"
logEvent("Projects list: " & theProjectsOptions as string) of me
if theArgv1 is not equal to "quiet" then
set theSelectedProjects_G to choose from list SQLProjectUUIDPath with prompt "Please choose a project(s):"
end if
if theArgv2 is not equal to {} then
set theSelectedProjects_G to theArgv2
end if
logEvent("The selected projects : " & theSelectedProjects_G as string) of me
logEvent("Getting list of libraries...") of me
set theLibraryList to every library
logEvent("Found " & (count of theLibraryList) & " libraries") of me
repeat with theLibrary in theLibraryList
set theLibraryName to name of theLibrary
logEvent("Processing library: " & theLibraryName) of me
set LibraryFolders to {}
set theProcessedProjects_G to {}
tell application "Finder"
if not (exists (POSIX file (exportFolder & theLibraryName) of me)) then
logEvent("creating new folder " & theLibraryName & " at " & exportFolder) of me
make new folder at (POSIX file exportFolder of me) with properties {name:theLibraryName}
end if
end tell
set theLibraryPath_G to exportFolder & theLibraryName & "/"
logEvent("Getting list of folders...") of me
set theFolderList to every folder of library id (id of theLibrary)
logEvent("Found " & (count of theFolderList) & " folders") of me
set theRootFolderList to {}
if theFolderList is not equal to {} then
processFoldersTree(0, theFolderList) of me
repeat with theFolder in theFolderList
if (id of theFolder) is not in theFoldersTree_G as string then
logEvent("Found root folder : " & (name of theFolder) as string) of me
set end of theRootFolderList to theFolder
set end of LibraryFolders to (name of theFolder)
end if
end repeat
end if
if theRootFolderList is not equal to {} then
processFolders(theRootFolderList, theLibraryPath_G, "projects") of me
processFolders(theRootFolderList, theLibraryPath_G, "albums") of me
else
set theProjectList to every project of library id (id of theLibrary)
set end of LibraryFolders to processProjects(theProjectList, theLibraryPath_G, "projects") of me as list
processProjects(theProjectList, theLibraryPath_G, "albums") of me
end if
logEvent("Getting list of projects...") of me
set theProjectList to every project of library id (id of theLibrary)
logEvent("Found " & (count of theProjectList) & " projects") of me
logEvent("Getting list of albums...") of me
set theAlbumList to every album of library id (id of theLibrary)
logEvent("Found " & (count of theAlbumList) & " albums") of me
set theRootProjectList to {}
if theProjectList is not equal to {} then
repeat with theProject in theProjectList
if (id of theProject) is not in theProcessedProjects_G as string then
logEvent("Found root project : " & (name of theProject) as string) of me
set end of theRootProjectList to theProject
set end of LibraryFolders to (name of theProject)
end if
end repeat
end if
set theRootAlbumList to {}
if theAlbumList is not equal to {} then
processAlbumsTree(theProjectList, theFolderList) of me
set theRootAlbumList to {}
repeat with theAlbum in theAlbumList
if (id of theAlbum) is not in theAllAlbums_G as string then
logEvent("Found root album : " & (name of theAlbum) as string) of me
set end of theRootAlbumList to theAlbum
set end of LibraryFolders to (name of theAlbum)
end if
end repeat
end if
if theRootProjectList is equal to {} then
processAlbums(theRootAlbumList, theLibraryPath_G, "albums") of me
else
processProjects(theRootProjectList, theLibraryPath_G, "projects") of me
processProjects(theRootProjectList, theLibraryPath_G, "albums") of me
if theRootAlbumList is not equal to {} then
processAlbums(theRootAlbumList, theLibraryPath_G, "albums") of me
end if
end if
cleanup(LibraryFolders, theLibraryPath_G, "all") of me
end repeat
logEvent("total exports : " & numExports_G) of me
if theArgv1 is not equal to "quiet" then
display dialog "Total image exports : " & numExports_G buttons {"OK"} with title "Aperture Library Export" with icon note
end if
end tell
on error s number i partial result p from f to t
set s to "Error: " & s
logEvent(quoted form of (s))
if theArgv1 is not equal to "quiet" then
display dialog "ERROR : " & s buttons {"OK"} with title "Aperture Library Export" with icon note
end if
end try
end run
on cleanup(theObjects, thePath, theSelection)
logEvent("Cleaning export folders...") of me
logEvent("# Objects: " & (count of theObjects)) of me
logEvent("Export Folder: " & (thePath as string))
tell application "Finder"
logEvent("Getting list of folders...") of me
set theFolderList to every folder in folder (POSIX file thePath of me)
logEvent("Found " & (count of theFolderList) & " folders") of me
logEvent("Getting list of files...") of me
set theFileList to every file in folder (POSIX file thePath of me)
logEvent("Found " & (count of theFileList) & " files") of me
repeat with theFolder in theFolderList
set theFolderName to name of theFolder
if theFolderName is not in theObjects as string then
logEvent("Moving folder " & theFolder & " to trash...") of me
move theFolder to trash
end if
end repeat
if theSelection is not equal to "folder" then
repeat with theFile in theFileList
set theFileName to name of theFile
if theFileName is not in theObjects as string then
logEvent("Moving file " & theFile & " to trash...") of me
move theFile to trash
end if
end repeat
end if
end tell
logEvent("Cleaning completed...") of me
end cleanup
on logEvent(logMessage)
set theLine to quoted form of (((current date) as string) ¬
& " : " & logMessage)
do shell script "echo " & theLine & ¬
" >> ~/Library/Logs/AppleScript" & theScriptName_G & ".log"
end logEvent
on DB_lookupProjectPath(puuid)
set SqlStatement to "
select replace(rtrim(ZLIBRARYRELATIVEPATH,'.approject'),'/',':' )
from ZRKFOLDER
where
ZUUID ='" & puuid & "'"
set SqlRecords to DB_execute(SqlStatement)
return DB_record(SqlRecords, 1, 1)
end DB_lookupProjectPath
on processFolders(theFoldersList, theFolderPath, processOrder)
logEvent("processFolders... : " & theFolderPath) of me
set arrayOfFolders to {}
tell application "Aperture"
set theCount to count of theFoldersList
set theCounter to 1
repeat with theFolder in theFoldersList
set foldersOfFolder to {}
set theFolderName to name of theFolder
logEvent("Processing folder : " & theFolderName & " (" & theCounter & "/" & theCount & ")") of me
set theCounter to theCounter + 1
set end of arrayOfFolders to theFolderName
tell application "Finder"
if not (exists (POSIX file (theFolderPath & theFolderName) of me)) then
logEvent("creating new folder " & theFolderName & " at " & theFolderPath) of me
make new folder at (POSIX file theFolderPath of me) with properties {name:theFolderName}
end if
end tell
logEvent("Getting list of album...") of me
set theAlbumsListOfFolder to every album of folder id (id of theFolder)
logEvent("Found " & (count of theAlbumsListOfFolder) & " albums") of me
logEvent("Getting list of folder...") of me
set theFolderListOfFolder to every folder of folder id (id of theFolder)
logEvent("Found " & (count of theFolderListOfFolder) & " folders") of me
logEvent("Getting list of project...") of me
set theProjectsListOfFolder to every project of folder id (id of theFolder)
logEvent("Found " & (count of theProjectsListOfFolder) & " projects") of me
if theProjectsListOfFolder is not equal to {} then
set end of foldersOfFolder to processProjects(theProjectsListOfFolder, (theFolderPath & theFolderName & "/"), processOrder) of me as list
end if
if theFolderListOfFolder is equal to {} then
set end of foldersOfFolder to processAlbums(theAlbumsListOfFolder, (theFolderPath & theFolderName & "/"), processOrder) of me as list
else
if theAlbumsListOfFolder is not equal to {} then
set end of foldersOfFolder to processAlbums(theAlbumsListOfFolder, (theFolderPath & theFolderName & "/"), processOrder) of me as list
end if
set end of foldersOfFolder to processFolders(theFolderListOfFolder, (theFolderPath & theFolderName & ":"), processOrder) of me as list
end if
cleanup(foldersOfFolder, (theFolderPath & theFolderName & "/"), "all") of me
end repeat
end tell
logEvent("processFolders completed...") of me
return arrayOfFolders
end processFolders
on processFoldersTree(theParent, theFoldersList)
logEvent("processFoldersTree...") of me
tell application "Aperture"
repeat with theFolder in theFoldersList
if theParent is not 0 then
set end of theFoldersTree_G to (id of theFolder)
end if
set theFolderListOfFolder to every folder of folder id (id of theFolder)
if theFolderListOfFolder is not equal to {} then
processFoldersTree((id of theFolder), theFolderListOfFolder) of me
end if
end repeat
end tell
logEvent("processFoldersTree completed...") of me
end processFoldersTree
on processAlbumsTree(theProjectsList, theFoldersList)
logEvent("processAlbumsTree...") of me
set theAllAlbums_G to {}
tell application "Aperture"
repeat with theProject in theProjectsList
repeat with theAlbum in (every album of project id (id of theProject))
set end of theAllAlbums_G to (id of theAlbum)
end repeat
end repeat
repeat with theProject in theProjectsList
repeat with theAlbum in (every album of every subfolder of project id (id of theProject))
set end of theAllAlbums_G to (id of theAlbum)
end repeat
end repeat
repeat with theFolder in theFoldersList
repeat with theAlbum in (every album of folder id (id of theFolder))
set end of theAllAlbums_G to (id of theAlbum)
end repeat
end repeat
end tell
logEvent("processAlbumsTree completed...") of me
end processAlbumsTree
on DB_lookupImageInfo(puuid)
set SqlStatement to "
SELECT replace(A.ZLIBRARYRELATIVEPATH,'.approject',''),strftime('%m/%d/%Y %H:%M:%S',datetime(B.ZDATELASTSAVEDINDATABASE, 'unixepoch', '+31 years','localtime'))
from ZRKFOLDER AS A,ZRKVERSION AS B
where
B.ZPROJECTUUID = A.ZUUID AND
B.ZUUID ='" & puuid & "'"
set SqlRecords to DB_execute(SqlStatement)
return {theImagePath:DB_record(SqlRecords, 1, 1), theImageDate:DB_record(SqlRecords, 1, 2)}
end DB_lookupImageInfo
on processProjects(theProjectsList, theProjectPath, processOrder)
logEvent("processProjects... : " & theProjectPath) of me
logEvent("processOrder: " & processOrder) of me
set arrayOfProjects to {}
tell application "Aperture"
set theCount to count of theProjectsList
set theCounter to 1
repeat with theProject in theProjectsList
set ProjectFolders to {}
set theProjectName to name of theProject
set end of arrayOfProjects to theProjectName
set theContinue to 0
if "ALL PROJECTS" is not in theSelectedProjects_G as string then
if (id of theProject) is not in theSelectedProjects_G as string then
logEvent("Skipping project: " & theProjectName) of me
set theContinue to 1
end if
end if
if theContinue = 0 then
-- set theProjectPath to theProjectPath & DB_lookupProjectPath(id of theProject) of me
logEvent("Processing project : " & theProjectName & " (" & theCounter & "/" & theCount & ")") of me
tell application "Finder"
if not (exists (POSIX file (theProjectPath & theProjectName) of me)) then
logEvent("creating new folder " & theProjectName & " at " & theProjectPath) of me
make new folder at (POSIX file theProjectPath of me) with properties {name:theProjectName}
end if
end tell
if processOrder is equal to "projects" then
set end of theProcessedProjects_G to (id of theProject)
logEvent("Getting list of images...") of me
set theImageList to every image version of project id (id of theProject) as list
logEvent("Found " & (count of theImageList) & " images") of me
set end of ProjectFolders to processImages(theImageList, (theProjectPath & theProjectName & "/"), "project", "JPEG - Original Size") of me as list
end if
logEvent("Getting list of subfolders...") of me
set theSubfolderList to every subfolder of project id (id of theProject)
logEvent("Found " & (count of theSubfolderList) & " subfolders") of me
logEvent("Getting list of album...") of me
set theAlbumList to every album of project id (id of theProject)
logEvent("Found " & (count of theAlbumList) & " albums") of me
if theSubfolderList is equal to {} then
set end of ProjectFolders to processAlbums(theAlbumList, (theProjectPath & theProjectName & "/"), processOrder) of me as list
else
if theAlbumList is not equal to {} then
set end of ProjectFolders to processAlbums(theAlbumList, (theProjectPath & theProjectName & "/"), processOrder) of me as list
end if
set end of ProjectFolders to processSubfolders(theSubfolderList, (theProjectPath & theProjectName & "/"), processOrder) of me as list
end if
if processOrder is equal to "projects" then
cleanup(ProjectFolders, (theProjectPath & theProjectName & "/"), "all") of me
else
cleanup(ProjectFolders, (theProjectPath & theProjectName & "/"), "folder") of me
end if
end if
set theCounter to theCounter + 1
end repeat
end tell
logEvent("processProjects completed...") of me
return arrayOfProjects
end processProjects
on exportImage(imageUUID, imageName, exportFolder, imageType, isAlbum, exportSettings, imageExt)
set imageInfo to DB_lookupImageInfo(imageUUID) of me
set imageTime to theImageDate of imageInfo as Unicode text
set imageDate to date imageTime
set isExported to 0
set imageName to imageName & imageExt
set theFile to POSIX file (exportFolder & imageName)
tell application "Finder"
set isUpdate to 0
if not (exists theFile) then
logEvent("Image does not exist in folder : " & exportFolder) of me
set isUpdate to 1
else
logEvent("Get image modification date") of me
do shell script "ls -l " & quoted form of (exportFolder & imageName)
set imageFileDate to modification date of (info for theFile)
if imageDate ≥ imageFileDate then
logEvent("Image file date: " & imageFileDate as string) of me
set isUpdate to 1
end if
end if
if isUpdate = 1 then
if exists theFile then
move theFile to the trash
end if
if isAlbum is equal to "album" then
logEvent("Creating a link for image: " & imageName) of me
set theProjectFolder to theImagePath of imageInfo
do shell script "ln " & quoted form of (theLibraryPath_G & theProjectFolder & "/" & imageName) & " " & quoted form of exportFolder
else
set isExported to 1
logEvent("Exporting image: " & imageName) of me
tell application "Aperture"
if imageType is "master" then
set settings to exportSettings
export {image version id imageUUID} using settings to POSIX path of file exportFolder metadata embedded
else
set settings to exportSettings
export {image version id imageUUID} using settings to POSIX path of file exportFolder metadata embedded
end if
end tell
end if
end if
end tell
return isExported
end exportImage
on DB_execute(SqlStatement)
try
set SqlScript to Sqlite_G & space & "-separator '|'" & space & (quoted form of ApertureLibrary_G) & space & (quoted form of SqlStatement) & " 2>&1"
set SqlResult to do shell script SqlScript
set theARray to {}
set tid to AppleScript's text item delimiters
set AppleScript's text item delimiters to ASCII character 13
set SqlRecords to text items of SqlResult
set AppleScript's text item delimiters to tid
return SqlRecords
on error s number i partial result p from f to t
set s to "SQL Error: " & s
logEvent(quoted form of (s)) of me
end try
end DB_execute
on DB_record(SqlRecords, row, col)
try
set tid to AppleScript's text item delimiters
set AppleScript's text item delimiters to "|"
set SqlCols to text items of (item row of SqlRecords)
set AppleScript's text item delimiters to tid
return item col of SqlCols
on error
return {}
end try
end DB_record
on DB_lookupRecord(SqlRecords, theReturnCol, theText, theCol)
set theResult to ""
repeat with theRow in items of SqlRecords
set tid to AppleScript's text item delimiters
set AppleScript's text item delimiters to "|"
set theFields to text items of theRow
set AppleScript's text item delimiters to tid
if item theCol of theFields is equal to theText then
set theResult to item theReturnCol of theFields
exit repeat
end if
end repeat
return theResult
end DB_lookupRecord
on processImages(theImageList, exportFolder, isAlbum, exportSettings)
logEvent("processImages... : " & exportFolder) of me
if exportSettings contains "JPEG" then
set imageExt to ".jpg"
else
set imageExt to ".ANY"
end if
set arrayOfImages to {}
with timeout of 6000 seconds
set theCount to count of theImageList
set theCounter to 1
repeat with theImage in theImageList
set imageUUID to id of theImage
set imageName to name of theImage
set end of arrayOfImages to imageName & imageExt
logEvent("Processing image : " & imageName & " (" & theCounter & "/" & theCount & ")") of me
set numExports_G to numExports_G + (exportImage(imageUUID, imageName, exportFolder, "version", isAlbum, exportSettings, imageExt) of me)
set theCounter to theCounter + 1
end repeat
end timeout
return arrayOfImages
end processImages
on processAlbums(theAlbumsList, theAlbumPath, processOrder)
logEvent("processAlbums... : " & theAlbumPath) of me
set arrayOfAlbums to {}
tell application "Aperture"
set theCount to count of theAlbumsList
set theCounter to 1
repeat with theAlbum in theAlbumsList
set theAlbumName to name of theAlbum
logEvent("Processing album : " & theAlbumName & " (" & theCounter & "/" & theCount & ")") of me
set theCounter to theCounter + 1
set AlbumObjects to {}
set end of arrayOfAlbums to theAlbumName
tell application "Finder"
if not (exists (POSIX file (theAlbumPath & theAlbumName) of me)) then
logEvent("creating new folder " & theAlbumName & " at " & theAlbumPath) of me
make new folder at (POSIX file theAlbumPath of me) with properties {name:theAlbumName}
end if
end tell
logEvent("Getting list of images...") of me
set theImagesList to every image version of album id (id of theAlbum)
logEvent("Found " & (count of theImagesList) & " images") of me
if processOrder is equal to "albums" then
set end of AlbumObjects to processImages(theImagesList, (theAlbumPath & theAlbumName & "/"), "album", "JPEG - Original Size") of me as list
cleanup(AlbumObjects, (theAlbumPath & theAlbumName & "/"), "all") of me
end if
end repeat
end tell
logEvent("processAlbums completed...") of me
return arrayOfAlbums
end processAlbums
on processSubfolders(theSubfoldersList, theSubfolderPath, processOrder)
logEvent("processSubfolders... : " & theSubfolderPath) of me
set arrayOfSubfolders to {}
tell application "Aperture"
set theCount to count of theSubfoldersList
set theCounter to 1
repeat with theSubfolder in theSubfoldersList
set theSubfolderName to name of theSubfolder
logEvent("Processing subfolder : " & theSubfolderName & " (" & theCounter & "/" & theCount & ")") of me
set theCounter to theCounter + 1
set end of arrayOfSubfolders to theSubfolderName
tell application "Finder"
if not (exists (POSIX file (theSubfolderPath & theSubfolderName) of me)) then
logEvent("creating new folder " & theSubfolderName & " at " & theSubfolderPath) of me
make new folder at (POSIX file theSubfolderPath of me) with properties {name:theSubfolderName}
end if
end tell
set SubfoldersFolders to {}
logEvent("Getting list of albums ...") of me
set theAlbumsListOfSubfolder to every album of subfolder id (id of theSubfolder)
logEvent("Found " & (count of theAlbumsListOfSubfolder) & " albums") of me
logEvent("Getting list of subfolders...") of me
set theSubfoldersListOfSubfolder to every subfolder of subfolder id (id of theSubfolder)
logEvent("Found " & (count of theSubfoldersListOfSubfolder) & " subfolders") of me
if theSubfoldersListOfSubfolder is equal to {} then
set end of SubfoldersFolders to processAlbums(theAlbumsListOfSubfolder, (theSubfolderPath & theSubfolderName & "/"), processOrder) of me as list
else
if theAlbumsListOfSubfolder is not equal to {} then
set end of SubfoldersFolders to processAlbums(theAlbumsListOfSubfolder, (theSubfolderPath & theSubfolderName & "/"), processOrder) of me as list
end if
set end of SubfoldersFolders to processSubfolders(theSubfoldersListOfSubfolder, (theSubfolderPath & theSubfolderName & "/"), processOrder) of me as list
end if
cleanup(SubfoldersFolders, (theSubfolderPath & theSubfolderName & "/"), "all") of me
end repeat
end tell
logEvent("processSubfolders completed...") of me
return arrayOfSubfolders
end processSubfoldersIf you do externalize your Masters to folders anywhere (same drive, internal/external drive, multiple drives, whatever), never be tempted to use Finder to mess with them.
As Frank said, use Relocate Masters. Otherwise you'll confuse Aperture when it wakes up expecting Masters to be in certain places when they have moved elsewhere.
It's possible to fix up the mess, but it's no fun! -
Exporting Aperture Slideshow to Itunes
I created a slide show in Aperture, exported it for iTunes and Apple TV, but I cannot find it in iTunes or show it on the TV. What do I have to do?
What are your Aperture version and iTunes version?
Did you use the following export settings for the slideshow?
With these setting, the slideshow appeared in iTunes in the "Movies" section of the Library in the "Home Videoas tab", like this:
What settings did you use? -
Exporting Aperture photos to an external HD while keeping existing folder structure
Hi,
I have over 300gb of photos on my MBP. I need to export the photos onto an external Hard Drive and keep the existing folder structure. How can this be done?
My source for the Aperture library is iPhoto. I know that I can 'show package contents' from right clicking the iPhoto library, but this only displays the masters. I need the versions as I have done many edits on the majority of photos. I am fine with having the photos separated out by date - renaming the folder isn't a problem. I just don't want to have to sort through ALL of my photos and place them into different folders.
Does anyone have any ideas?
Thanks!Thanks for the information everyone! I apologize if I'm not being clear.
Here are a few call outs:
1. I have my aperture library and iPhoto synced (the source of all my photos is iPhoto. I exclusively use Aperture for photo editing however).
2. I am actually using a work computer and I am leaving the company. Therefore I need to give the computer back. I will be 'uninstalling' Aperture and eventually erasing all the photos.
3. I don't know what my next photo editing computer will be at this point as I have not purchased one.
4. Since I don't know my next computer, I would like to have all of my existing "Folders" and "Projects" (as Aperture defines them) on an external drive so I can pick and pull the ones I would like to view / edit.
5. On my next computer, I would not like to import my exact settings / folder structure from Aperture. I will be starting fresh. With that said, I would prefer to have all my existing "Folders" and "Projects" in one giant folder called "Pictures" on my external HD.
Example folder structure on my External HD:
Folder 1: Pictures
Folder 1a: Aperture "Folder" 1
Folder 1ai: Aperture "Project" 1
Folder 1aii: Aperture "Project" 2
Folder 1b: Aperture "Folder" 2
Folder 1bi: Aperture "Project" 1
Folder 1bii: Aperture "Project" 2
I have roughly 90 "Projects" inside about 5 "Folders". Of course I can create a folder on my external HD, select all the pictures, and click export for every single one of my "Projects", but I would prefer not do to that as it is incredibly time consuming. I am looking for an automated way of copying all my photos to an external drive while maintaining my existing folder / projects hierarchy into what 'finder' defines as 'folders'.
Although I would like to keep my 'masters' and 'versions', my original thought was to just export the versions. So actually, I guess just 'moving' the entire library would work. But since I don't know what computer I will work on and I may be on a temporary computer (install Aperture and manually select photos to import and work on), I wanted to have them be in a folder structure for easy importing and viewing if I wanted to on any mac.
My existing structure in Aperture are Folders --> Projects.
In order to copy my entire library, I have gone into (from finder) "Hard Drive" > Users > Wingmandan > Pictures > iPhoto Library. I have taken that icon and dragged into my external HD. It was 300 gb, and took about 8 horus to complete.
Desired end result
-Be able to quickly reference/view the versions of my pictures on any mac through my external HD (Versions)
-Be able to choose what photos to import based upon my existing 'folders' and 'projects' into my next computer (Versions and Masters)
-Have a full backup of my Aperture Library
I hope this makes more sense and I'm a bit more clear. Again, thanks again for your help. I need to return the laptop by the end of the week. -
Exporting Multiple Version at the same time to disc
Hi,
Is there any way that you can configure your export settings to export two versions of a 'version' at once?
For example, I normally supply clients with High and Low res duplications of an image set so that they have print and web versions ready to go.
I would like to set up some kind of configuration on Export where Aperture renders both the high and low res sets at once to the burn folder.
Its not a huge problem, but would simplify my workflow.
Also... does anyone use Burn to Disc? Is it worth the money?
Thanks for your help.
RichDidn't think about anyone in photography and Macs not having GC -- wonderful tool -- see:
http://www.lemkesoft.com/
There are commands to mass convert everything in a folder, and drop the conversions into the same or new folder. Has a modest cost, and the developer is amazingly responsive to suggestions, trouble-shooting, etc.
You might could do this with Preview, Photoshop Bridge, etc., but I have only relied upon GC for such.
Ernie -
Colour Profile change after Exporting a version
Hi
Has any one had this problem - and found a solution?
My Aperture Preferences are set to - Adobe RGB 1998.
Now,
1 - if I select an image in Aperture then select EDIT WITH ADOBE PHOTOSHOP
the image is opened in p/s
when I view the image in Bridge
the colour profile is correct - Adobe RGB 1998
Problem:
2 - if I select an image, then EXPORT A VERSION (to my desk top)
the colour profile changes to sRGB ?
Don't understand why this is happening - anybody know why?
Thanks
Tony (from London)The color profile is part of the export preset as Keith pointed out
Make sure the preset you are using has the color profile you want.
regards -
Export of Version doesn't contain changes to image
Hi,
I have aperture 3.5.1 and I have a problem exporting images. I have done some changes on my images such as sharpness and Red Eye Reduction and when I export a version out of Aperture these changes have disapeared on the exported versions. I only use RAW (=NEF) files. I need the picture for an Photoalbum in JPEG.
Can somebody explain to me what I do wrong?
Gr.
BobHi Alex,
Léonie has responded in your thread. You are in very good hands .
Aperture works well for tens of thousands of users. We are happy to help you find out why it is not working the way you expect it to. While your disappointment is understandable, it adds nothing to the process of trouble-shooting. And since we are all just users here, freely helping others make the most of software sold for a profit that in no way at all benefits us, whining is misplaced, and unlikely to further your cause.
Just my $0.02.
Note that "rebuild" and "repair" are two distinct actions. "Repair" might be thought of as a kind of check-up maintenance. I run it regularly on all my Libraries. "Rebuild" should not be needed, or used, regularly. I mention this because I recommended "repair" but your responded by talking about "rebuild".
--Kirby. -
I'm trying to export my Aperture masters to use in Lightroom, can't get the ratings to export. Tried writing the IPTC data to the masters and adding the IPTC4XMP file when exporting, neither worked. The ratings show up in Lightroom if I export the versions. These are all .jpg's that I am exporting. Any ideas on how to fix this?
ThanksThere are two problems here:
1) Aperture does not modify its "original" files on export. Meaning with the JPEG files that Aperture will NOT modify them, and it will not write IPTC data to them. It exports the XMP sidecar files, as you're seeing.
2) Adobe will NOT read IPTC sidecar files for non-RAW images. So if it sees a JPEG file, it will not look for an XMP sidecar file. It just doesn't read them, so the data won't be imported by Lightroom.
If you are using JPEG files, then probably the solution is to check the box in Aperture to tell it to write XMP metadata to the original files. They're not RAW files, so they're not proprietary in any way, so writing the XMP metadata to the JPEG files is probably pretty safe. -
Some photos won't export as versions
A proportion of photos from various projects won't export as versions, either JPGs or TIFFs. The files themselves aren't corrupt as I can open them in Photoshop and then save them as JPG or TIFF files or whatever I want. I though it might be library that was corrupt but I rebuilt the library and the probem still persists and with the same photos.
I have my library stored on a RAID system. I've stored it before on a RAID setup but always using Apple's formatting software to RAID the HDs together. This is a hardware RAID system so the computer reads it as 2TB when it's really two 1TB drives together. It is then formatted with the standard Apple DIsc Utility. This is the only difference from before and I've never had the problem until now.
Could this be the problem? Could fragmented files on this drive be the problem? Any suggestions welcome.The way you have described your issues sounds like you are running a referenced library where you have easy access to the files through the finder. Is it possible that in the process of accessing files through the finder that some have been moved or had attributes changed? The way to identify this is by the badges that Aperture displays on an image, pg.291 of the manual see below.
To display badge overlays on images in the Viewer:
1 Do one of the following:
 Choose View > Metadata > Customize (or press Command-J).
 Choose Aperture > Preferences, then click Metadata.
2 Select the Viewer checkbox.
3 From the Viewer Set 1 pop-up menu, choose a metadata view that includes badge
overlays. Some examples are General and Ratings, as well as Viewer-Basic and
Viewer-Expanded.
4 Close the Preferences window.
Badges are now visible in the Viewer.
Tony -
Maybe I just don't understand Aperture yet but I have a question. When I export a version (and choose jpg) is it converting it from RAW to jpg for me or do I have to export the master and convert it in Photoshop's RAW converter? The reason I ask is because I like to fix my master in Aperture and then export it to PS to make a few more aditional changes. I don't want to lose my master RAW quality.
Does that make sense?
Any clarification would be a great help.
thanks
G5 Mac OS X (10.4.8)under preferences, (cmd+,) what file format do you have setup for external editor ??? i use tiff 300dpi and have no problems with anything in PS and they open at 16-bit - no place to change that pref ...
are you right-clicking -> open with external editor ??? this should create a version that opens in PS, and in aperture you will see a new badge like a bullseye ...
what things in PS can't you use ???
this 30 below crap is for the, well not the birds ... it really hampers the shooting outdoors, but hopefully it will make the door county shoreline very pretty for next weekend ... and the sea caves at the apostles should be very accessible and nicely frozen ... -
Images deleted after export (Aperture 3.4)
Exported my newly imported images using the Export Originals function in Aperture. After that, all exported images were gone from the file system (previews still showing in Aperture but the refernced files are gone, also not in the Trash, but "fully gone").
One more question - I forgot: What is your current Aperture version? Have you upgraded to Aperture 3.4? Then you may need to reinstall Aperture - see this support article:
Aperture 3.4: May quit unexpectedly on launch after updating
Not to mention that Aperture crashed in the meantime, then claimed the library is locked, I had to reboot and then to wait 30 mins for the library to be fixed as it was corrupted...
After a crash Aperture will repair the library, but it may be necessary to rebuild it is well, see: Aperture 3 User Manual: Repairing and Rebuilding Your Aperture Library
Looked for the images with Spotlight
Did you search the entire mac from the Finder?
In the Finder, choose File > Find or press Command (⌘)-F.
Maybe you are looking for
-
Issue regarding supported platforms manual for BO XI 3.1 sp2
In supported platforms manual for BO XI 3.1 sp2 windows there is a note on page 7 for specific patch level for OAS 10gR3 u201CPlease see release notes on the minimum version supported for Dashboard and Analytics.u201D We try to find on release notes
-
Hi. I have recently switched to kde-unstable repo and am having a problem. New konsole (so yakuake as well) uses 'ctrl-shift-minus' to shrink the font size. This is also the shortcut for the joe editor to 'undo' changes (in text console it's simply C
-
Dear All , I am unable to get data in the Purchasing Document Feild in FK10N Report. I am to get the data for all other feilds...Kindly Please tell me, if any table update is required for that. kindly please guide me regards, R.Ramakrishnaraj
-
Can i use oracle 7.3 drivers against oracle 8 database.
When i'm executing a stored procedure with 8i driver i'm having a problem saying "Cannot Save or Rollback in distributed transaction". But when i use oracle 7.3 drivers i'm not having any problem.My question is , Can I use oracle 7.3 dirvers with ora
-
Hi All, For PIE chart, i need to create clickable legend items. This can be easily done by using itemClick attribute on the <mx:Legend> tag. But i am not able to do following 1. display underline for the LegendItem label 2. display hand cursor for th