[cl-pdf-devel] Adding read-data paramter to read-jpeg-file and read-png-file functions

Dmitriy Ivanov divanov at aha.ru
Wed Mar 12 10:07:29 UTC 2008


Hello folks,

I am thinking of using some PDF functions with a simple site content
management project. They could determine just the image size from the file
header without reading the whole data.

It would nice equipping these functions with the read-data key parameter,
i.e.

(defun %read-jpeg-file% (filename &key (read-data t))
  ...)

If the :read-data argument got the explicit false value, the functions
read-jpeg-file and read-pnd-file returned an instance of bitmap-image with
null data.

Any objections?

BTW, is anybody aware of a lisp code for resizing JPEG images?
--
Sincerely,
Dmitriy Ivanov
lisp.ystok.ru




More information about the cl-pdf-devel mailing list