• 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: Alex Zavatone <email@hidden>
  • Date: Mon, 17 Aug 2015 08:43:23 -0400


On Aug 17, 2015, at 5:11 AM, Christopher Stone wrote:

On Aug 17, 2015, at 03:45, Michael Ghilissen <email@hidden> wrote:
I just did that yesterday, but for one PICT document. No automation here!  First, open the PICT file in Preview and export as PDF.... Reopen the PDF and save it as JPEG.
______________________________________________________________________

From the manual:

• PICT images can be opened. With some images, there can be slight quality losses depending on the image content. We therefore recommended converting all PICT format images into PNG format. Start GraphicConverter in 32-bit mode for lossless conversion.

It should be quite easy to do this job as a batch, but since I can't test with actual PICTs I make no guarantee.

--
Best Regards,
Chris

Yeah, it seems that there should be an intermediate format the conversion.  Once you get the images into PNG, it's much better supported from there.

And though I stated before "just use SIPS", it appears that SIPS does support pict.

 format           string jpeg | tiff | png | gif | jp2 | pict | bmp | qtif
                      | psd | sgi | tga

This is as far as I've gotten from the command line so far

Zavatone-2:~ zav$ sips -s format png --setProperty hasAlpha 0  '/Users/zav/Documents/bg trans0001.pict' --out '/Users/zav/Documents/bg trans0001-no-Alpha.PNG'
/Users/zav/Documents/bg trans0001.pict
Error: Error modifying file
  /Users/zav/Documents/bg trans0001-no-Alpha.PNG

Preview is a UI over SIPS, so you should have some luck there.

http://osxdaily.com/2013/01/11/converting-image-file-formats-with-the-command-line-sips/

Practice by converting between with some image formats you expect to be well supported, like PDF and PNG.   JPEG is a little more difficult since it requires other options in the command line.

Here are  a few examples to modify and try in the terminal:

sips -s format png --setProperty hasAlpha 0  '~/Documents/bg trans0001.pict' --out '~/Documents/bg trans0001-no-Alpha.PNG'
/Users/zav/Documents/bg trans0001.pict

sips -s format jpeg -s formatOptions 90 '~/myFile.png/' --out '~/myFile-90.jpeg'

GL
 _______________________________________________
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: Shane Stanley <email@hidden>)
 >Re: How do we Convert PICT to JPEG (From: Michael Ghilissen <email@hidden>)
 >Re: How do we Convert PICT to JPEG (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: How do we Convert PICT to JPEG
  • Next by Date: issues with a find
  • 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