On Tue, 2002-06-11 at 07:23, Richard Poole wrote: > > --- Dom Lachowicz <[EMAIL PROTECTED]> wrote: > Hi > > Joe, > > > > > > You could accomplish this using wvWare, but it would > > > be a royal > > > pain-in-the-ass to do so. What I would suggest is > > > something like the > > > following: > > > > > > 1) Go check out my other project, AbiWord > > > (www.abisource.com) and subscribe > > > to the developer list. > > > 2) Check out the 'GR_Graphics' class and become > > > famliliar with it > > > 3) Become familiar with libpng/libjpeg/libtiff/... > > > 4) Write a GR_Graphics class that uses one or more > > > of the above libraries. > > > It shouldn't be too hard. > > > 5) Call 'print' to effectively print your document > > > to a series of images > > Wouldn't it be even easier to use the existing mechanisms in AbiWord > to print PostScript, then use ghostscript to convert to whatever > raster format you wanted? No new code at all required.
You could do that too. I really don't care how this gets done, or even if it gets done. Basically, all our Graphics class is anyway is a PS abstraction layer anyway. If I had to do this without involving ghostscript, I'd probably use ImageMagick++'s Drawable and Image classes to do all of the dirty-work. -- Dom Lachowicz <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
