SIP mogrify, crop command

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

SIP mogrify, crop command

by Tim Strand :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I recently installed SIP 0.4.0 for Windows on a WinXP machine.
I am using it with Scilab 4.0.  When I try to use the mogrify
command to crop an image I just get the complete original image
back, e.g.

crop_image = mogrify(in_image,['-crop','20x20']);

where in_image is an 80x80 normalized grayscale image,
crop_image is the same 80x80 image.  I have tried with and
without ! and everything else I could think of.  I also don't
know how to properly specidfy the x,y offset for cropped image.
The other mogrify commands that I have tried seem to work.  For
example resize works (although I haven't figured out how to
specify an offset there either).  Is there a problem with my
command syntax?

Tim Strand
e-mail: tstrand@...


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
SIPtoolbox-users mailing list
SIPtoolbox-users@...
https://lists.sourceforge.net/lists/listinfo/siptoolbox-users

Re: SIP mogrify, crop command

by Angus Errington :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Tim,

Thanks for your message. I just tried the same command on
my version of SIP(4.0 rc2)/Scilab(3.1.1 Linux) and I seem
to be getting the same thing happening...ie nothing.

I haven't used the crop feature before so I could be doing
the syntax incorrectly or simply missing something.
I will look into this, though.

If someone has already responded to you and solved the problem,
sorry for repeating.

Thanks,

Angus

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
SIPtoolbox-users mailing list
SIPtoolbox-users@...
https://lists.sourceforge.net/lists/listinfo/siptoolbox-users