yeah! that makes sense! I was kind of thinking something similar that
the jpeg orientation was being ignored.
and I may have found a solution!!
there's a command called jhead which can bake the orientation flag into
the actual jpeg (for any vertical jpegs, it does a lossless rotation of
the jpeg and bakes the orientation into the file).
/jhead -autorot *.jpg
/for a whole folder or
/jhead -autorot <filename>/
for a single file.
I figure if I put this in automator ahead of the quartz call it will fix
things.
so... any advice on getting this inside automator? :)
(heh.. yeah I posted to the automator and applescript lists already...
waiting to see if anyone's up to help with an answer)
man. thanks again. I'm so grateful for all your guy's help. can't
believe I almost have it all working.
On 10/21/15 2:11 AM, Achim Breidenbach wrote:
You are right about the value to remeber the orientation. QC is totally aware
of it. However the render environment is actually the jpeg-orientation
(landscape), so this makes me think Automator created the environmet this way
Am 21.10.2015 um 10:32 schrieb Josh Reiss<j...@joshreiss.com>:
hmmmnm... I don't think it's actually a bug.
interestingly, I believe the way a camera saves a jpeg is that the pixels are
in the same order (horizontal) whether vertical or horizontal, and there's just
a value that gets set if the image should be vertical.
It looks like quartz doesn't recognize this value OR it's designed to ignore it
to work with the actual pixel order.
I wonder if anyone knows how to check the image orientation value of an image
in quartz so I can use it in a conditional.
On 10/20/15 11:45 PM, Achim Breidenbach wrote:
My guess ist that this is a bug in Automator: it setup the compositor
environment the wrong way so that the renderer renders into a landscape context.
Workaround: in Automator use “Image Event” application to check the EXIF data
for orientation, rotate the image if necessary, apply your composition, rotate
it back. Don’t know if this can be done in Automator thought.
Achim
PS: Image Event” application is located at “/System/Library/CoreServices/Image
Events.app” To see what its capable of, open its AS Dictionary with “Script
Editor”.
On 21 Oct 2015, at 08:35, Josh Reiss<j...@joshreiss.com> wrote:
On 10/20/15 11:24 PM, Achim Breidenbach wrote:
Do have some sample images? Is your logo rotated also with the image? Usually
QC respects the “orientation” parameter for a jpeg. It might be, that the
Automator script for some reason put the orientation parameter back on the
resulting image (but shouldn’t, because QC is delivering the image in the
correct dimension?) On the other hand, this could be some of the “broke” part.
yeah... here's the resulting images... It does seem to rotate with the image..
Or more specifically it feels like the image itself doesn't actually rotate while running
through the script so internally it's always "horizontal"
weird!
<_MG_9815.JPG><_MG_9816.JPG>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com