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: 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.
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