ANN: Quartz Composition Filters in Revolution for OSX

View: New views
12 Messages — Rating Filter:   Alert me  

ANN: Quartz Composition Filters in Revolution for OSX

by Thomas McGrath III-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Revolution Users,

Since I could not make it to RunRevLive this year I thought I would  
contribute a stack to the community from here in Pittsburgh, PA.

Announcement: Revolution Quartz Composition Filter Access released to  
the Revolution community absolutely free for use. This stack and  
associated files will use the Quartz Composition Filters available  
from OSX from within the Revolution environment for use in the IDE and  
standalone applications.

Either use the sample graphic supplied or open your own image and  
apply as many of the available filters to it and then save the image  
to where ever you like.

There are 43 high end filters included in this demonstration stack.  
This is a fun stack to play with.

The Quartz access files are about 18 MB in size so the folder is  
zipped for easier download.

Download here: http://www.lazyriversoftware.com/QuartzRR.html


Enjoy,

Thomas J McGrath III
Lazy River Software

3mcgrath@...

Lazy River Software - http://www.lazyriversoftware.com



_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Ian Wood-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Neat stuff!

For reference, it would be possible to reduce the file size down  
considerably if you cut out different languages from the Automator  
apps - each one contains ~280KB of language files.

Ian

On 7 May 2008, at 21:18, Thomas McGrath III wrote:

> Dear Revolution Users,
>
> Since I could not make it to RunRevLive this year I thought I would  
> contribute a stack to the community from here in Pittsburgh, PA.
>
> Announcement: Revolution Quartz Composition Filter Access released  
> to the Revolution community absolutely free for use. This stack and  
> associated files will use the Quartz Composition Filters available  
> from OSX from within the Revolution environment for use in the IDE  
> and standalone applications.
>
> Either use the sample graphic supplied or open your own image and  
> apply as many of the available filters to it and then save the image  
> to where ever you like.
>
> There are 43 high end filters included in this demonstration stack.  
> This is a fun stack to play with.
>
> The Quartz access files are about 18 MB in size so the folder is  
> zipped for easier download.
>
> Download here: http://www.lazyriversoftware.com/QuartzRR.html
>
>
> Enjoy,
>
> Thomas J McGrath III
> Lazy River Software
>
> 3mcgrath@...
>
> Lazy River Software - http://www.lazyriversoftware.com
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution@...
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Thomas McGrath III-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks,

I wrote this today while trying to do something completely different  
and was side tracked. I will look into trimming the automator files. I  
also am trying to figure out how to feed the automator files different  
parameters like I would with Applescript.

Thanks again,

Tom McGrath

On May 7, 2008, at 4:58 PM, Ian Wood wrote:

> Neat stuff!
>
> For reference, it would be possible to reduce the file size down  
> considerably if you cut out different languages from the Automator  
> apps - each one contains ~280KB of language files.
>
> Ian
>


Thomas J McGrath III
3mcgrath@...

Lazy River Software
http://www.lazyriversoftware.com




_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Murugan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you, Thank you Thank you! and here I just looked into this last
week looking for photo processing options from with Rev and missed
something really big and came away thinking

"Oh, this Core Image thingy is only for transitions... "

Of course, you have built all the external apps.

only thing:

it worked on Mz Joplin

-- but it did not work on a standard 4.8 megapixel camera image

is unsharp mask an available filter?

Did you build those in Xcode yourself? How hard was that?


.I need uThomas McGrath III wrote:

> Dear Revolution Users,
>
> Since I could not make it to RunRevLive this year I thought I would
> contribute a stack to the community from here in Pittsburgh, PA.
>
> Announcement: Revolution Quartz Composition Filter Access released to
> the Revolution community absolutely free for use. This stack and
> associated files will use the Quartz Composition Filters available
> from OSX from within the Revolution environment for use in the IDE and
> standalone applications.
>
> Either use the sample graphic supplied or open your own image and
> apply as many of the available filters to it and then save the image
> to where ever you like.
>
> There are 43 high end filters included in this demonstration stack.  
> This is a fun stack to play with.
>
> The Quartz access files are about 18 MB in size so the folder is
> zipped for easier download.
>
> Download here: http://www.lazyriversoftware.com/QuartzRR.html
>
>
> Enjoy,
>
> Thomas J McGrath III
> Lazy River Software
>
> 3mcgrath@...
>
> Lazy River Software - http://www.lazyriversoftware.com
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution@...
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Thomas McGrath III-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My Dear Sivakatirswami,

You are most welcome, most welcome. I figured since we weren't going  
to RunRevLive we could still have some fun.....

I too was looking into Core transitions which you know we have already  
in Rev and was trying to make use of some of the built-in features of  
OSX in Applescript. But no luck. It turns out that the Quartz Filters  
are only available at this time through Xcode and Aperature, then I  
found that Automator also has internal access to these filters. But  
they are not scriptable. The applescript dictionaries for a lot of  
these new system wide features is half done. There are references to  
future scriptability for most of them. The difference was that Image  
effects are apple scriptable and Core transitions are already in Rev  
but these Quartz Composition Filters are not!!!

So, I thought why not just build the Automator workflows and turn them  
into apps. Then call those apps from applescript from within Rev. But  
still they won't work directly on an image while it is in Rev but  
rather I am using rev to show the image, then save the image, then run  
the automator filter on the image and lastly reload the image and  
offer the user to save the new image file. It felt like cheating at  
first but then I realized that in RR these images are editable and  
savable and usable and this is not that different than doing all of  
this in an offscreen buffer, not really. Also multiple filters can be  
applied to the same image with very interesting results. Twirl will  
build upon Twirl over and over. I have been playing with this all day,  
it is very addictive.

On to your issues: Two things, The first is you may have to apply the  
filter twice, do it once to initiate the process and then apply it  
again. This is just with the larger files because of the time the  
Automator app takes to run and in Rev I only put in a four minute  
wait. You can change that of course. Secondly, these are meant mostly  
for PNG files and I don't know what the 4.8 M Image format is.

Don't forget that I did this as a demo, so the larger images I set to  
scale in half and you might want to change that.

I would like to put an Undo in and also find a way to further 'script'  
the process.

Unsharp Mask was not among the available filters. But most of them are  
very high end filters.

There are parameters for some of these filters and I am trying to  
figure out how to access them from Rev, but without scriptability this  
is a bit harder to accomplish.

You can definitely accomplish this and a lot more in Automator and no  
it is actually very easy once you know what to look for. You should be  
able to actually open Automator and then open one of the apps I built  
to see how easy it is.

It was almost too easy and yet had not been thought of yet.

I hope you enjoyed this demo stack and if you make any changes send me  
a copy, I would love to see where this could go for us.

Regards,

Tom McGrath III
On May 7, 2008, at 10:08 PM, Sivakatirswami wrote:

> Thank you, Thank you Thank you! and here I just looked into this  
> last week looking for photo processing options from with Rev and  
> missed something really big and came away thinking
>
> "Oh, this Core Image thingy is only for transitions... "
>
> Of course, you have built all the external apps.
>
> only thing:
>
> it worked on Mz Joplin
>
> -- but it did not work on a standard 4.8 megapixel camera image
>
> is unsharp mask an available filter?
>
> Did you build those in Xcode yourself? How hard was that?
>
>
> .I need u
_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Thomas McGrath III-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One other thing, Once this becomes scriptable from within Applescript  
it will only need one code with parameters and be much easier to  
script and use in Rev.

Waiting for that day...

Tom

On May 7, 2008, at 10:08 PM, Sivakatirswami wrote:

> Thank you, Thank you Thank you! and here I just looked into this  
> last week looking for photo processing options from with Rev and  
> missed something really big and came away thinking
>
> "Oh, this Core Image thingy is only for transitions... "
>
> Of course, you have built all the external apps.
>
> only thing:
>
> it worked on Mz Joplin
>
> -- but it did not work on a standard 4.8 megapixel camera image
>
> is unsharp mask an available filter?
>
> Did you build those in Xcode yourself? How hard was that?
>
>
> .I need uThomas McGrath III wrote:
>> Dear Revolution Users,
>>
>> Since I could not make it to RunRevLive this year I thought I would  
>> contribute a stack to the community from here in Pittsburgh, PA.
>>
>> Announcement: Revolution Quartz Composition Filter Access released  
>> to the Revolution community absolutely free for use. This stack and  
>> associated files will use the Quartz Composition Filters available  
>> from OSX from within the Revolution environment for use in the IDE  
>> and standalone applications.
>>
>> Either use the sample graphic supplied or open your own image and  
>> apply as many of the available filters to it and then save the  
>> image to where ever you like.
>>
>> There are 43 high end filters included in this demonstration  
>> stack.  This is a fun stack to play with.
>>
>> The Quartz access files are about 18 MB in size so the folder is  
>> zipped for easier download.
>>
>> Download here: http://www.lazyriversoftware.com/QuartzRR.html
>>
>>
>> Enjoy,
>>
>> Thomas J McGrath III
>> Lazy River Software
>>
>> 3mcgrath@...
>>
>> Lazy River Software - http://www.lazyriversoftware.com
>>
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution@...
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution@...
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Murugan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aloha, Thomas:

Thanks for that very clear response.
First, I don't call this cheating,
I think a lot of us Rev to get various horses under the same harness...
No better tool for that!

Though if there is no unsharp mask ("critical" for web photos in our
book) I will probably use Wilhelm's script which he was kind enough to
give a long while back but  I've too busy to get into action, but will
be needed very soon...

I don't see any contraint in your script for .jpg...

even your:

"answer file "Select a picture to process:" with "PNGs, *.png"

is not masking .jpg... and ... testing.... hold... yes, it works on a
small .jpg (36k)

so, we must just be just facing file size and processing time...

I will definitely check out automator (never used it...)

Too bad we can't get this on windows. you could
so some "crazy stuff" for kids that they would just love...

Thanks again for sharing

Sivakatirswami


IThomas McGrath III wrote:

> My Dear Sivakatirswami,
>
> You are most welcome, most welcome. I figured since we weren't going
> to RunRevLive we could still have some fun.....
>
> I too was looking into Core transitions which you know we have already
> in Rev and was trying to make use of some of the built-in features of
> OSX in Applescript. But no luck. It turns out that the Quartz Filters
> are only available at this time through Xcode and Aperature, then I
> found that Automator also has internal access to these filters. But
> they are not scriptable. The applescript dictionaries for a lot of
> these new system wide features is half done. There are references to
> future scriptability for most of them. The difference was that Image
> effects are apple scriptable and Core transitions are already in Rev
> but these Quartz Composition Filters are not!!!
>
> So, I thought why not just build the Automator workflows and turn them
> into apps. Then call those apps from applescript from within Rev. But
> still they won't work directly on an image while it is in Rev but
> rather I am using rev to show the image, then save the image, then run
> the automator filter on the image and lastly reload the image and
> offer the user to save the new image file. It felt like cheating at
> first but then I realized that in RR these images are editable and
> savable and usable and this is not that different than doing all of
> this in an offscreen buffer, not really. Also multiple filters can be
> applied to the same image with very interesting results. Twirl will
> build upon Twirl over and over. I have been playing with this all day,
> it is very addictive.
>
> On to your issues: Two things, The first is you may have to apply the
> filter twice, do it once to initiate the process and then apply it
> again. This is just with the larger files because of the time the
> Automator app takes to run and in Rev I only put in a four minute
> wait. You can change that of course. Secondly, these are meant mostly
> for PNG files and I don't know what the 4.8 M Image format is.
>
> Don't forget that I did this as a demo, so the larger images I set to
> scale in half and you might want to change that.
>
> I would like to put an Undo in and also find a way to further 'script'
> the process.
>
> Unsharp Mask was not among the available filters. But most of them are
> very high end filters.
>
> There are parameters for some of these filters and I am trying to
> figure out how to access them from Rev, but without scriptability this
> is a bit harder to accomplish.
>
> You can definitely accomplish this and a lot more in Automator and no
> it is actually very easy once you know what to look for. You should be
> able to actually open Automator and then open one of the apps I built
> to see how easy it is.
>
> It was almost too easy and yet had not been thought of yet.
>
> I hope you enjoyed this demo stack and if you make any changes send me
> a copy, I would love to see where this could go for us.
>
> Regards,
>
> Tom McGrath III
> On May 7, 2008, at 10:08 PM, Sivakatirswami wrote:
>
>> Thank you, Thank you Thank you! and here I just looked into this last
>> week looking for photo processing options from with Rev and missed
>> something really big and came away thinking
>>
>> "Oh, this Core Image thingy is only for transitions... "
>>
>> Of course, you have built all the external apps.
>>
>> only thing:
>>
>> it worked on Mz Joplin
>>
>> -- but it did not work on a standard 4.8 megapixel camera image
>>
>> is unsharp mask an available filter?
>>
>> Did you build those in Xcode yourself? How hard was that?
>>
>>
>> .I need u
> _______________________________________________
> use-revolution mailing list
> use-revolution@...
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Thomas McGrath III-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kind words,

I did find an Automator action for unSharp Mask but it has different  
parameters than the Quartz suite and is not a part of it. It should  
work as an Automator Application but my first try to access it in Rev  
failed. I will play more tomorrow with it.

There are others too in Utilities in Automator:
Scale
Sharpness (graphic converter)
Brightness
Autolevel
Rotate

Also saw some for PDFs URLs etc.

Let ya know,

Tom

On May 7, 2008, at 11:54 PM, Sivakatirswami wrote:

> Aloha, Thomas:
>
> Thanks for that very clear response.
> First, I don't call this cheating,
> I think a lot of us Rev to get various horses under the same  
> harness...
> No better tool for that!
>
> Though if there is no unsharp mask ("critical" for web photos in our  
> book) I will probably use Wilhelm's script which he was kind enough  
> to give a long while back but  I've too busy to get into action, but  
> will be needed very soon...

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Ben Rubinstein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 8/5/08 03:44, Thomas McGrath III wrote:

> I too was looking into Core transitions which you know we have already
> in Rev and was trying to make use of some of the built-in features of
> OSX in Applescript. But no luck. It turns out that the Quartz Filters
> are only available at this time through Xcode and Aperature, then I
> found that Automator also has internal access to these filters. But they
> are not scriptable. The applescript dictionaries for a lot of these new
> system wide features is half done. There are references to future
> scriptability for most of them. The difference was that Image effects
> are apple scriptable and Core transitions are already in Rev but these
> Quartz Composition Filters are not!!!
>
> So, I thought why not just build the Automator workflows and turn them
> into apps. Then call those apps from applescript from within Rev. But
> still they won't work directly on an image while it is in Rev but rather
> I am using rev to show the image, then save the image, then run the
> automator filter on the image and lastly reload the image and offer the
> user to save the new image file. It felt like cheating at first but then
> I realized that in RR these images are editable and savable and usable
> and this is not that different than doing all of this in an offscreen
> buffer, not really. Also multiple filters can be applied to the same
> image with very interesting results. Twirl will build upon Twirl over
> and over. I have been playing with this all day, it is very addictive.
>
> On to your issues: Two things, The first is you may have to apply the
> filter twice, do it once to initiate the process and then apply it
> again. This is just with the larger files because of the time the
> Automator app takes to run and in Rev I only put in a four minute wait.

Tom,

Many thanks for contributing this.  Could I also solicit your (and other)
votes for:

http://quality.runrev.com/qacenter/show_bug.cgi?id=3055

Which is to extend the Core Image support currently in Rev, from Transitions
only to include Effects.

Cheers,

- Ben

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Thomas McGrath III-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ben,

I voted for this. Although it is Mac only it would help compete in the  
multi-media categories for Rev development.

Thanks,
Tom


On May 8, 2008, at 9:52 AM, Ben Rubinstein wrote:

> On 8/5/08 03:44, Thomas McGrath III wrote:
>> I too was looking into Core transitions which you know we have  
>> already in Rev and was trying to make use of some of the built-in  
>> features of OSX in Applescript. But no luck. It turns out that the  
>> Quartz Filters are only available at this time through Xcode and  
>> Aperature, then I found that Automator also has internal access to  
>> these filters.
>
> Tom,
>
> Many thanks for contributing this.  Could I also solicit your (and  
> other) votes for:
>
> http://quality.runrev.com/qacenter/show_bug.cgi?id=3055
>
> Which is to extend the Core Image support currently in Rev, from  
> Transitions only to include Effects.
>
> Cheers,
>
> - Ben
>
> _______________________________________________
> use-revolution mailing list
> use-revolution@...
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Thomas McGrath III-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sivakatirswami,

It turns out there is a way to script some aspects of the Quartz  
Composition FIlters. It is a round about way and does not allow any  
further control than what I did so I don't think I will redo the demo  
stack just yet.

For instance if the QuartzComposer has a filter Glow and it has a  
range of 0 - 1 I can't figure out how to change the range, just the  
filter.

But here is the script:

tell application "Automator"
        activate
        set myWorkflow to make new workflow
        --
        set myAction1 to Automator action "Find Finder Items"
        tell myAction1 to set value of setting "where" to "User"
        -- Can't set the file to find via script...

        add myAction1 to myWorkflow
        --
        set myAction2 to Automator action "Apply Quartz Composition Filter to  
Image Files"
        add myAction2 to myWorkflow
        set myNewSetting to last Automator action of myWorkflow

        set value of setting "filterIdentifier" of myNewSetting to "Glow"

        -- comment the following to just test
        execute myWorkflow
        close myWorkflow without saving
end tell

This line will get the setting that can be changed for the action:
set myActions to the settings of Automator action "Apply Quartz  
Composition Filter to Image Files"

result: {setting "filterIdentifier" of Automator action id  
"com.apple.QuartzComposer.automatorActions.imageFilter" of application  
"Automator"}

Now, if someone knows a way to change the actual other setting for the  
Setting of the Action then we can get somewhere in Rev with this.

Yours truly,

Tom McGrath, (Not at RunRevLive)
_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: ANN: Quartz Composition Filters in Revolution for OSX

by Murugan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We ended up using Wilhelm Sanke's unsharp mask script.. a bit pokey, but
all native transcript and I'm not in a rush and it does a good job.

Thanks Wilhelm... I finally put your script to work!

Sivakatirswami

Thomas McGrath III wrote:

> Kind words,
>
> I did find an Automator action for unSharp Mask but it has different
> parameters than the Quartz suite and is not a part of it. It should
> work as an Automator Application but my first try to access it in Rev
> failed. I will play more tomorrow with it.
>
> There are others too in Utilities in Automator:
> Scale
> Sharpness (graphic converter)
> Brightness
> Autolevel
> Rotate
>
> Also saw some for PDFs URLs etc.
>
> Let ya know,
>
> Tom
>
> On May 7, 2008, at 11:54 PM, Sivakatirswami wrote:
>
>> Aloha, Thomas:
>>
>> Thanks for that very clear response.
>> First, I don't call this cheating,
>> I think a lot of us Rev to get various horses under the same harness...
>> No better tool for that!
>>
>> Though if there is no unsharp mask ("critical" for web photos in our
>> book) I will probably use Wilhelm's script which he was kind enough
>> to give a long while back but  I've too busy to get into action, but
>> will be needed very soon...
>
> _______________________________________________
> use-revolution mailing list
> use-revolution@...
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution