From: Haoyu B. <div...@gm...> - 2009-04-27 06:57:04
|
On Thu, Apr 23, 2009 at 9:19 PM, Olivier Roger <Oli...@st...> wrote: > I use python for some time now but I'm new to SWIG. > I used SWIG before to make module from C code I wrote, it worked perfectly. > > For some python application I'm currently working on I need to transform > Images into JPEG format. > For the moment I call an external application using the popen function, > which works if the application is installed. > > I was wondering if it would be possible to create a python module from the > GeoJasper application? > GeoJasper is available at http://dimin.m6.net/software/geojasper/ and under > open-source license. > > Thank you in advance, > > Olivier > Hi Olivier, Of course it is possible given GeoJasper is written in C/C++. But if it has not provide a clear API for use as a library, you may need some effort to hack its internal and the build system. -- Haoyu Bai |