Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

JMagick - setMonochrome()

Thread view: 
Christoph Burschka - 10 Jul 2007 09:10 GMT
Has anyone here used the JNI interface for ImageMagick (JMagick)?

Unfortunately, I'm finding it really hard to work with because of the
sparse documentation. The only help I've found is a FAQ that touches on
6 usage-related topics; the generated Javadoc consists of uncommented
method heads. Those few methods that do have Javadoc comments are
explained by enlightening descriptions like this one:

void setVerbose(int value) - Set the verbose attribute.

----

Specifically, what I'm looking for is a description of

void ImageInfo.setMonochrome(int value)

Since the equivalent command line option in ImageMagick, "-monochrome",
takes no arguments, I thought that the value might be a boolean in
disguise (and would activate monochrome mode on >0, normal mode
otherwise). That didn't work though. Anyone have an idea what values
this method can take and what it does?

Signature

cb

Christoph Burschka - 10 Jul 2007 13:49 GMT
> Has anyone here used the JNI interface for ImageMagick (JMagick)?
>
[quoted text clipped - 17 lines]
> otherwise). That didn't work though. Anyone have an idea what values
> this method can take and what it does?

Just in case there is no other follow-up, let me add that I have since
given up on JMagick entirely and use Runtime.exec() now. More stable,
faster, better documented - and it even works on both Windows and Unix.

--
cb


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.