Re: How do we Convert PICT to JPEG
Re: How do we Convert PICT to JPEG
- Subject: Re: How do we Convert PICT to JPEG
- From: Shane Stanley <email@hidden>
- Date: Wed, 19 Aug 2015 09:51:48 +1000
On 18 Aug 2015, at 7:09 am, Yvan KOENIG <email@hidden> wrote:
if destExt = "png" then set theData to bitmapImageRep's representationUsingType:(current application's NSPNGFileType) |properties|:{NSImageCompressionFactor:1.0} -- between 0.0 and 1.0
A minor thing: image compression doesn't apply for .png files. There are two other properties you can set for .pngs, though: NSImageGamma and NSImageInterlaced.
|
_______________________________________________
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