Re: TIFF to PDF - easiest way?
Re: TIFF to PDF - easiest way?
- Subject: Re: TIFF to PDF - easiest way?
- From: ilsa <email@hidden>
- Date: Mon, 27 Jun 2011 11:43:40 -0700
Hi:
Success! This works in Smile:
set my_source to "Macintosh HD:Users:ILC:Desktop:DV-110606a:2011-06-06
12-17-07_IMAGE000_102.tiff"
set my_dest to "Macintosh HD:Users:ILC:Desktop:DV-110606a:2011-06-06
12-17-07_IMAGE000_102.pdf"
tell application "Smile"
set theinfo to (image info for file my_source)
set thewidth to the width of theinfo
set theheight to the height of theinfo
set w to make new graphic window with properties {pagewidth:thewidth,
pageheight:theheight}
beginfigure(w)
drawimage(my_source, {0, 0}, "")
endfigure()
save w in file my_dest
close every graphic window
end tell
Fast, too. Thanks, Emmanuel!
ilsa
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden