|
Prev: Redoing Matlisp?
Next: Pocket Lisp Machine
From: Vagif Verdi on 25 Sep 2006 01:00 Hello. Is there a way to insert tiff image into pdf file using cl-pdf ? I know that cl-pdf supports jpeg and png. But could not find any info regarding tiff. If it is not possible, is there a library to read tiff images and possibly convert them to other format ? I know about non lisp libraries like ImageMagik, but want pure lisp solution like jpeg and png files.
From: Ken Tilton on 25 Sep 2006 01:39 Vagif Verdi wrote: > I know about non lisp libraries like ImageMagik, but want pure lisp > solution like jpeg and png files. I know I am going to regret this, but what is wrong with using a C library? I recommend, GraphicsMagick, btw, if you decide to sully yourself with "non pure Lisp". :) ken -- Cells: http://common-lisp.net/project/cells/ "I'll say I'm losing my grip, and it feels terrific." -- Smiling husband to scowling wife, New Yorker cartoon
From: Vagif Verdi on 25 Sep 2006 03:01 Ken Tilton wrote: > I know I am going to regret this, but what is wrong with using a C > library? I recommend, GraphicsMagick, btw, if you decide to sully > yourself with "non pure Lisp". Nothing wrong. Just additional deployment requirement i'm trying to avoid. But i'd take anything. Would it work with cl-pdf ? I need to create pdfs with lot's of tiff images and table of contents, chapters, outline etc. cl-pdf does everything i need except tiff files. So is it possible to use GraphicsMagick with cl-pdf ?
From: Ken Tilton on 25 Sep 2006 07:21 Vagif Verdi wrote: > Ken Tilton wrote: > >>I know I am going to regret this, but what is wrong with using a C >>library? I recommend, GraphicsMagick, btw, if you decide to sully >>yourself with "non pure Lisp". > > > Nothing wrong. Just additional deployment requirement i'm trying to > avoid. I 'spose. But if you are writing an installer /anyway/, why cripple the entire development process by ruling out C libs? That's my mileage anyway. > But i'd take anything. Would it work with cl-pdf ? Well, ahem, the two would never meet. You would grab cl-magick* from c-l.net (another project that stole a name from me <g>) and Just Convert Your Tiffs. On the fly if you like. Then you point cl-pdf at the JPEG versions. > I need to create pdfs with lot's of tiff images and table of contents, > chapters, outline etc. > cl-pdf does everything i need except tiff files. > So is it possible to use GraphicsMagick with cl-pdf ? > Again, yes, GM is great, no, cl-pdf is not involved. Unless you make a nice little "import" contrib to cl-pdf and Marc accepts, the TIFF->JPEG conversion happens earlier in the pipeline and cl-pdf never sees a TIFF pathname. hth, kt * I have no idea if the cl-magick project on c-l.net is any good, so that is not a recommendation, just a lead. I have IM/GM bindings in a cl-magick directory under my Cello project on c-l.net, use 'em every day and welcome bug reports. k -- Cells: http://common-lisp.net/project/cells/ "I'll say I'm losing my grip, and it feels terrific." -- Smiling husband to scowling wife, New Yorker cartoon
From: GP lisper on 25 Sep 2006 06:43
On 25 Sep 2006 00:01:01 -0700, <Vagif.Verdi(a)gmail.com> wrote: > > So is it possible to use GraphicsMagick with cl-pdf ? > sure -- Reply-To email is ignored. -- Posted via a free Usenet account from http://www.teranews.com |