hey! I actually got this working by baking the rotation into the file
before quartz with jhead so quartz sees it right.
One thing is I *am* trying to use the image dimension patch to test for
orientation to switch out my overlays... but haven't gotten it to work
yet. I'm using Image Dimention into a Conditional Patch, then using the
output as an index to a Multiplexer with 2 different source images.
If there's a better way to do it, let me know! :)
On 10/21/15 2:34 PM, Jerry Smith wrote:
Might be able to use the Image Dimensions patch in QC to test for
orientation, then rotate?
On Wed, Oct 21, 2015 at 12:00 PM,
<quartzcomposer-dev-requ...@lists.apple.com
<mailto:quartzcomposer-dev-requ...@lists.apple.com>> wrote:
Send Quartzcomposer-dev mailing list submissions to
quartzcomposer-dev@lists.apple.com
<mailto:quartzcomposer-dev@lists.apple.com>
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.apple.com/mailman/listinfo/quartzcomposer-dev
or, via email, send a message with subject or body 'help' to
quartzcomposer-dev-requ...@lists.apple.com
<mailto:quartzcomposer-dev-requ...@lists.apple.com>
You can reach the person managing the list at
quartzcomposer-dev-ow...@lists.apple.com
<mailto:quartzcomposer-dev-ow...@lists.apple.com>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Quartzcomposer-dev digest..."
Today's Topics:
1. Re: Hit a wall with Image Importer... (Josh Reiss)
2. Fwd: Patch Type? (Alastair Leith)
3. Re: Hit a wall with Image Importer... (Josh Reiss)
----------------------------------------------------------------------
Message: 1
Date: Wed, 21 Oct 2015 02:49:57 -0700
From: Josh Reiss <j...@joshreiss.com <mailto:j...@joshreiss.com>>
To: Achim Breidenbach <ac...@boinx.com <mailto:ac...@boinx.com>>,
quartzcomposer-dev@lists.apple.com
<mailto:quartzcomposer-dev@lists.apple.com>
Subject: Re: Hit a wall with Image Importer...
Message-ID: <56275fc5.2030...@joshreiss.com
<mailto:56275fc5.2030...@joshreiss.com>>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
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
<mailto: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
<mailto: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>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.apple.com/archives/quartzcomposer-dev/attachments/20151021/3ce3a518/attachment.html>
------------------------------
Message: 2
Date: Wed, 21 Oct 2015 17:52:44 +0800
From: Alastair Leith <usefuldesign...@gmail.com
<mailto:usefuldesign...@gmail.com>>
To: "quartzcomposer-dev@lists.apple.com
<mailto:quartzcomposer-dev@lists.apple.com> list"
<Quartzcomposer-dev@lists.apple.com
<mailto:Quartzcomposer-dev@lists.apple.com>>
Subject: Fwd: Patch Type?
Message-ID: <12a01f66-b80b-4b6d-9889-821d20166...@gmail.com
<mailto:12a01f66-b80b-4b6d-9889-821d20166...@gmail.com>>
Content-Type: text/plain; charset="utf-8"
most patches won’t allow you to create input or output ports
because the ‘function’ of the patch is predetermined and immutable.
that’s not to say all ports must be wired to other patches but at
least one output patch will always have to be connected to a chain
of patches that ends at an input port to a patch in the category
of patches called Renderer. (blue coloured patches)
there are some excepts to this though. like the math expression
patch it will make inputs for whatever variable you name in the
function. You got to the “Settings” inspector to change the
formula. also the Math patch. You can add or subtract inputs in
the Settings inspector. It starts with 2 inputs.
> On 21 Oct 2015, at 5:19 pm, Alastair Leith
<usefuldesign...@gmail.com <mailto:usefuldesign...@gmail.com>
<mailto:usefuldesign...@gmail.com
<mailto:usefuldesign...@gmail.com>>> wrote:
>
> i dont understand the question. I’m sorry. try asking it a
different way for me. That is a port “tooltip”
>
> Patch Tooltip:
> <Screenshot 2015-10-21 17 <tel:2015-10-21%2017>.18.28.png>
>
> Port Tooltip:
> <Screenshot 2015-10-21 17 <tel:2015-10-21%2017>.18.41.png>
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list
(Quartzcomposer-dev@lists.apple.com
<mailto:Quartzcomposer-dev@lists.apple.com>
<mailto:Quartzcomposer-dev@lists.apple.com
<mailto:Quartzcomposer-dev@lists.apple.com>>)
> Help/Unsubscribe/Update your Subscription:
>
https://lists.apple.com/mailman/options/quartzcomposer-dev/qc.student.au%40gmail.com
<https://lists.apple.com/mailman/options/quartzcomposer-dev/qc.student.au%40gmail.com>
>
> This email sent to qc.student...@gmail.com
<mailto:qc.student...@gmail.com>
>> On 21 Oct 2015, at 12:35 pm, Josh Reiss <j...@joshreiss.com
<mailto:j...@joshreiss.com> <mailto:j...@joshreiss.com
<mailto:j...@joshreiss.com>>> wrote:
>>
>> On 10/20/15 8:11 PM, Alastair Leith wrote:
>>
>> ok... so when I hover over this one it says
>>
>> Description: The input port
>> Type: Number
>>
>> how would I make another one of those?
>>
>>
>> (also... a little update! I have the whole automator process
working with quartz on simple resizing. now I'm adding the
compositing...)
>>> If you hover the mouse over the patch title it will give some
more details.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.apple.com/archives/quartzcomposer-dev/attachments/20151021/cd15f420/attachment.html>
------------------------------
Message: 3
Date: Wed, 21 Oct 2015 04:59:36 -0700
From: Josh Reiss <j...@joshreiss.com <mailto:j...@joshreiss.com>>
To: Achim Breidenbach <ac...@boinx.com <mailto:ac...@boinx.com>>,
quartzcomposer-dev@lists.apple.com
<mailto:quartzcomposer-dev@lists.apple.com>
Subject: Re: Hit a wall with Image Importer...
Message-ID: <56277e28.80...@joshreiss.com
<mailto:56277e28.80...@joshreiss.com>>
Content-Type: text/plain; charset=utf-8; format=flowed
On 10/21/15 2:49 AM, Josh Reiss wrote:
> 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).
IT WORKED!!!
Thanks for all the help guys! This is really coming along.
------------------------------
_______________________________________________
Quartzcomposer-dev mailing list
Quartzcomposer-dev@lists.apple.com
<mailto:Quartzcomposer-dev@lists.apple.com>
https://lists.apple.com/mailman/listinfo/quartzcomposer-dev
End of Quartzcomposer-dev Digest, Vol 121, Issue 3
**************************************************
_______________________________________________
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/josh%40joshreiss.com
This email sent to j...@joshreiss.com
_______________________________________________
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