Re: Export a Canva to a Bitmap image
Jean-Pierre Vidal <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
Le samedi 27 Novembre 2004 14:58, [email protected] a écrit : > Can this be done? > > By clicking a button to export a Canva with all the drawn circles, rectangles > and texts as well to a bmp file. > -++**==--++**==--++**==--++**==--++**==--++**==--++**== > This message was posted through the Stanford campus mailing list > server. If you wish to unsubscribe from this mailing list, send the > message body of "unsubscribe ptk" to [email protected] > > On linux : $canvas->postscript(..., -file => 'file.ps', ... ); # Then use converters: `pstopnm -stdout file.ps > file.pnm`; `ppmtobmp file.pnm > file.bmp`; It is not very satisfying, but it works. JPV -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]