• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do we Convert PICT to JPEG
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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

References: 
 >How do we Convert PICT to JPEG (From: Malcolm Fitzgerald <email@hidden>)
 >Re: How do we Convert PICT to JPEG (From: Iurista GmbH <email@hidden>)
 >Re: How do we Convert PICT to JPEG (From: Mark Hunte <email@hidden>)
 >Re: How do we Convert PICT to JPEG (From: Shane Stanley <email@hidden>)
 >Re: How do we Convert PICT to JPEG (From: Shane Stanley <email@hidden>)
 >Re: How do we Convert PICT to JPEG (From: Yvan KOENIG <email@hidden>)
 >Re: How do we Convert PICT to JPEG (From: Yvan KOENIG <email@hidden>)
 >Re: How do we Convert PICT to JPEG (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: date syntax not working on 10.10.5?
  • Next by Date: Re: date syntax not working on 10.10.5?
  • Previous by thread: Re: How do we Convert PICT to JPEG
  • Next by thread: Re: How do we Convert PICT to JPEG
  • Index(es):
    • Date
    • Thread