Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem invoking Runtime.exec with ImageMagick



Hi Greg,

Thanks for your reply. However, my point is that this method / snippet works fine as is as long as I use non-EPS files, i.e. as long as ImageMagick's identify does not try to invoke gs.

If the exec()'ed command's output is longer than myBytes, then some output
won't be collected. If its output is shorter than myBytes, then you won't
know how many bytes in the array are valid, because you're not using the
count returned by read().

That's right. However, I'm really getting _nothing_ back, absolutely nada.


I've been suspecting that identify is somehow unable to invoke gs correctly and I had hoped that there is some kind of issue with launching a process (identify in my case) with Runtime.exec() that invokes another process itself, some kind of problem in this regard that I might have overseen and that needs a sort of workaround or extra parameter / code / whatever.

Is that the totally wrong path?

Ralph


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Problem invoking Runtime.exec with ImageMagick (From: Greg Guerin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.