Re: Color Conversion Gone Bad in Mavericks
Re: Color Conversion Gone Bad in Mavericks
- Subject: Re: Color Conversion Gone Bad in Mavericks
- From: Håvard Graudo <email@hidden>
- Date: Thu, 20 Feb 2014 07:30:41 +0100
I've seen that too. Yellow turns blue etc...
My workaround was to do only one command in each line:
This fails and gives horrible colours on 10.9 (OK with 10.8 and lower):
sips --resampleHeightWidthMax 300 -s format png '/Library/Audio/MIDI Devices/Generic/Images/DrumMachine.pdf' --out sipsbugone.png
Workaround on 10.9:
sips -s format png '/Library/Audio/MIDI Devices/Generic/Images/DrumMachine.pdf' --out sipsbugtwo.png
sips --resampleHeightWidthMax 300 sipsbugtwo.png --out sipsbugthree.png
Filed a bug with Apple a month ago: 15878440
Håvard
Den 20. feb. 2014 kl. 04.50 skrev Jon Rosen:
> I've been using these scripts for years, running from FileMaker to convert PDFs to JPEGs. There are two scripts. The first one outputs 300 ppi and the second one outputs a file at 72 ppi. The 72 ppi script works as it always has. The JPEGs output by the 300 ppi script look like there's no red in the image. It works perfectly under OS X 10.8, but produces bizarre "redless" images under OS X 10.9. Does anyone know what the problem might be or have any ideas about how to fix it?
>
> Thanks,
>
> Jon
>
> set aFile to "xxxxx"
> --set posixInput to quoted form of POSIX path of aFile
> set posixInput to quoted form of aFile
> set posixOutput to quoted form of "yyyyy"
>
> do shell script "sips -s format jpeg -s formatOptions high -s dpiHeight 300 -s dpiWidth 300 -z 2550 3300" & " " & posixInput & " --out " & posixOutput
>
>
> set aFile to "xxxxx"
> --set posixInput to quoted form of POSIX path of aFile
> set posixInput to quoted form of aFile
> set posixOutput to quoted form of "yyyyy"
>
> do shell script "sips -s format jpeg -s formatOptions high -s dpiHeight 72 -s dpiWidth 72 -z 612 792" & " " & posixInput & " --out " & posixOutput
>
_______________________________________________
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