[ANN] Smagick

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] Smagick

Levente Uzonyi-2
Since OSProcess doesn't work on windows Smagick won't work without  
changes. I've got a version (based on Smagick-SR.27) which uses  
ProcessWrapper instead of OSProcess and it works under win32, but i  
had issues with Image Magick under windows (ImageMagick-6.3.5-Q8 and  
ImageMagick-6.3.5-Q16). If anyone is interested, let me know, and i'll  
make the code available.

Levente


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Smagick

Kevin Driedger-3
I've tried it on Windows and stepped through the code a bit and it seems that you are assuming that the names of the binaries will be without extensions but on Windows they add .exe to the end.  I'll see if I can change that.

]{evin

Hi,

Thanks (to all) for the nice feedbacks !

request by Damien:
"Smagick 0.1" is now available as Package Universe ;)

interfacing:
Right now the "IO" between "Smagick" and "Image Magic" via  
"OSProcess" is done using "OSProcessIO". That is an intermediate  
layer that composes the commands for a model (=Smagick) and returns  
the parsed output (if there is any) and the process of an external  
application (=Image Magick) back to it. "OSProcessIO" is using a file-
pipe for this ... yet very primitive.

I know that "Smagick" works well on Unix, Linux and MacOSX - tested  
and heavily used. I don't know whether it runs on Windows. Maybe  
someone can try it ? - I don't use Windows anymore ...

Cheers,
Stef


On Aug 7, 2007, at 3:54 PM, Lex Spoon wrote:

>> "Smagick" is a small high level interface to control "Image Magick"
>> from within a Smalltalk environment, eg. Squeak. The purpose of this
>> package is to provide high performance image manipulations without
>> the need to know all the low level details of image processing.
>
> Neat!!
>
> There is a ton of stuff available on our machines outside of Squeak.
> There are several ways to access such things, and Smagick's approach
> is to use OSProcess.
>
> Can you comment on how the interfacing works?  Does Image Magick have
> a mode that lets you talk to it over a pipe, or does it have a rich
> set of command-line options that Smagick can use, or what?
>
> Also, does anyone have an idea if Smagick works in Windows, possibly
> with Cygwin?  How about OS/X ?
>
>
> Lex
>

--
]{evin ])riedger
1473 Brule Ave., Ottawa, ON
http://extremedesigners.ca

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Smagick

Kevin Driedger-4
In reply to this post by Levente Uzonyi-2
I got a few more dependencies loaded only to get DNU on #waitForCommand: It seems that WindowsProcess needs some more work.

I've tried simplifying and just getting an external process launched ( ExternalWindowsOSProcess command: 'c:/WINDOWS/system32/notepad.exe' ) and even that doesn't work.... Alas it's time for bed.

]{evin

Kevin Driedger wrote:
I've tried it on Windows and stepped through the code a bit and it seems that you are assuming that the names of the binaries will be without extensions but on Windows they add .exe to the end.  I'll see if I can change that.

]{evin

Hi,

Thanks (to all) for the nice feedbacks !

request by Damien:
"Smagick 0.1" is now available as Package Universe ;)

interfacing:
Right now the "IO" between "Smagick" and "Image Magic" via  
"OSProcess" is done using "OSProcessIO". That is an intermediate  
layer that composes the commands for a model (=Smagick) and returns  
the parsed output (if there is any) and the process of an external  
application (=Image Magick) back to it. "OSProcessIO" is using a file-
pipe for this ... yet very primitive.

I know that "Smagick" works well on Unix, Linux and MacOSX - tested  
and heavily used. I don't know whether it runs on Windows. Maybe  
someone can try it ? - I don't use Windows anymore ...

Cheers,
Stef


On Aug 7, 2007, at 3:54 PM, Lex Spoon wrote:

>> "Smagick" is a small high level interface to control "Image Magick"
>> from within a Smalltalk environment, eg. Squeak. The purpose of this
>> package is to provide high performance image manipulations without
>> the need to know all the low level details of image processing.
>
> Neat!!
>
> There is a ton of stuff available on our machines outside of Squeak.
> There are several ways to access such things, and Smagick's approach
> is to use OSProcess.
>
> Can you comment on how the interfacing works?  Does Image Magick have
> a mode that lets you talk to it over a pipe, or does it have a rich
> set of command-line options that Smagick can use, or what?
>
> Also, does anyone have an idea if Smagick works in Windows, possibly
> with Cygwin?  How about OS/X ?
>
>
> Lex
>

--
]{evin ])riedger
1473 Brule Ave., Ottawa, ON
http://extremedesigners.ca