Panda 0.5 RC1 man pages now available online

Because of a user request, there is now an online version of the Panda 0.5 RC1 man pages. Here are the pages:

Libjpeg for Win32

People have also been telling me that they are having trouble compiling libjpeg for win32 platforms. Here it is…

The version is available:

  • libjpeg.lib (6b)

    You’ll also need the include files, which are:

  • cderror.h
  • cdjpeg.h
  • jchuff.h
  • jconfig.h
  • jdct.h
  • jdhuff.h
  • jerror.h
  • jinclude.h
  • jmemsys.h
  • jmorecfg.h
  • jpegint.h
  • jpeglib.h
  • jversion.h
  • transupp.h

    There also also some handy tools, which are:

  • cjpeg.exe
  • djpeg.exe
  • jpegtran.exe
  • rdjpgcom.exe
  • wrjpgcom.exe

    The instructions for how to compile the library are as follows:

  • Uncompress the libjpeg distibution
  • Change into the jpeg-6b directory
  • Rename jconfig.vc to jconfig.h
  • nmake /f makefile.vc all
  • Done!

    All of this is also available as one big .zip file, as well as a gzipped tarball (both of which WinZip can open).

  • LZW decompression in Panda

    Several people have tried to convince me that decompression of LZW compressed information is not covered by the various Unisys patents on the LZW compression algorithm. This decompression would be useful for the reading in of existing PDF documents, as well as the inclusion of GIF images within a PDF document.

    Having now done some research on the topic, it would appear that this is incorrect. An example is xpdf which is forced to convert the LZW compressed streams into something else before they can be used. My reading of the LZW license is also that this is the case.

    Therefore, Panda will ont be supporting the inclusion of GIF images, or the the modification of PDF documents containing LZW compressed streams in the forseeable future. When the modification of such documents is supported, it will be implemented in a similar manner to that used in xpdf.

    Comparison the PDF generation APIs

    I have been doing some surfing and thought the following summary of the capability of the various PDF creation APIs might be useful to others. I see Panda having all of the functionality listed below as it becomes more mature over time. Where possible, I have indicated a timeframe in which implemenation might occur.

    Feature Panda Stable Panda Future Adobe ClibPDF PDFLib UniSoft Imaging vividX
    Images: GIF N Never          
    Images: JPEG Y            
    Images: PNG N 0.4          
    Images: TIFF: Group 3 Fax 1D Y            
    Images: TIFF: Group 3 Fax 2D Y            
    Images: TIFF: Group 4 Fax Y            

    Explainations:

  • GIF will never be supported by Panda because of the Patents associated with the LZW compression algorithm. The only exception to this would be if it was free to decompress LZW, and the data could then be written out as something else.
  • AOSS Talk

    I also gave a talk at the Australian Open Source Symposium in Adelaid today. The talk is very similar to that I gave a few days ago at CLUG (see below). However, some slides have been updated… I have made the slides used for the talk available here. I have also editted the slides to include some idea of the commentary that I gave with the slides like I did for the CLUG talk below.

    The slides cover topics such as what is Panda, what is PDF, directions for Panda development, differnces in quality of PDF viewers and some simple sample code.
    For reference, the original slides, as shown on the screen are also online…

    CLUG Talk

    I gave a talk at the Canberra Linux User’s Group (CLUG) meeting tonight. I have made the slides used for the talk available here. I have also editted the slides to include some idea of the commentary that I gave with the slides.

    The slides cover topics such as what is Panda, what is PDF, directions for Panda development, and some simple sample code.
    For reference, the original slides, as shown on the screen are also online…

    Panda 0.2.2 man pages now on the web

    The Panda 0.2.2 man pages are now available on the web in nicely formatted HTML. These might eb of interest to those programming on a machine without man installed (Windows perhaps), or those who are just interested in seeing what sort of documentation the library has.


    The following pages are available:

  • checkinfo (3)
  • initpanda (3)
  • makedate (3)
  • nowdate (3)
  • panda-textmodes(3)
  • panda-xobjectmodes (3)
  • pdfclose (3)
  • pdfopen (3)
  • pdfpage (3)
  • setauthor (3)
  • setcharacterspacing (3)
  • setcreator (3)
  • setfont (3)
  • setfontmode (3)
  • setfontsize (3)
  • sethorizontalscaling (3)
  • setkeywords (3)
  • setleading (3)
  • setsubject (3)
  • settitle (3)
  • setwordspacing (3)