On windows you have to have the dll javastub.dll in the path and of course the ghostscript dll like the one at http://itexttoolbox.svn.sourceforge.net/viewvc/itexttoolbox/main/dll/. On linux or other platforms you have to compile first the sources at http://itexttoolbox.svn.sourceforge.net/viewvc/itexttoolbox/main/dll/src/ or pull the libs out of the java webstart application. Dont expect it to work if you change the package or class name of the java class if you use the unchanged dlls. First try to get familar with jni. The package and class name is given by JNIEXPORT void JNICALL Java_com_lowagie_tools_plugins_IdentifyColorPages_colordetectnative in http://itexttoolbox.svn.sourceforge.net/viewvc/itexttoolbox/main/dll/src/javastub.c?revision=98&view=markup. However it is possible to call IdentifyColorPages from within other java applications. Look at the main() to learn how. It might be neccessary to change the sourcecode of the java class a little bit to be able to access the resulting colortable arraylist after the processing. Best regards, Carsten
Bruno Lowagie schrieb: > M. Salah Ghalloussi wrote: >> I have only toolbox.jar and Itext.jar .... Which library I still need >> please? > > I don't know for sure. > I'll leave this question for Carsten Hammer. > br, > Bruno > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Do you like iText? > Buy the iText book: http://www.1t3xt.com/docs/book.php > Or leave a tip: https://tipit.to/itexttipjar > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
