The pnoJpegLib is dedicated to my father, who died at 22th July 2005 in the age of 50 years on Cancer.
Altough the Library is completly free and Open-Source it would be great, if you use it for commercial software, when you donate some money to a Cancer-Help-Organisation.

In Germany one is "Deutsche Krebshilfe e.V."  Another one i've found in the USA is the "American Cancer Society".

Thank you in advance.

Stefan Stolz

pnoJpegLib for PalmOS

The pnoJpegLib ist a shared Library for PalmOS, which allows Applications to decode and encode Jpeg-Images with the Power of an ARM-Processor.

Features:

Remarks:

The Version 2 of the library is fully compartible with the Version 1; which means Application which are build against Version 1 run without modification with the Version 2.
I had to create the Version 2 API because the 1st isn't extensible. The Core ARM functions are the same, only the library-Interface had changed. If you write a new Application
with the libray is suggest to use the Version 2 API, because I think they will remain in future releases.

Know Bugs:

The pnoJpegBmp2DoubleDensity-Function from the Version 1 API have a Bug. It deletes the Source-Bitmap and returns the a BitmapPtrV3 instead. But the V3-Bitmap needs this Source-Bitmap.

Documentation:

For the Version 1 API please have a look at the pnoJpegTest.zip sample-Project.
For the Version 2 API take pnoJpeg2Test.zip and look in the PDF-File. I hope that i will get the time to write a better Doc. If someone will help me, please write me
Here is a short example for using the lib.

To compile the DLL you have to change the include-Paths in Visual C++.

Attention: If you get a link error because of setjmp during compiling the ARM-Part of the lib you have to edit the setjmp.ARM.h file in the \MSL\MSL_C\MSL_ARM\Include-Folder from Codewarrior.

Change

    #define setjmp(jmp_buf) __std(_Setjmp(jmp_buf))


to

    #define setjmp(jmp_buf) __std(__setjmp(jmp_buf))


If you have any questions on the lib or compiling the sources feel free to contact me.

Technical Things:

The Libray is developed with the Metrowerks Codewarrior for PalmOS 9.3. I don't know if it ist possible to compile it with a previous Version.
There are reports that the Lib works with the gcc and the prc-Tools.

Files:

Version 2.13: (Bug-Fix-Release) 31. October 2005

pnoJpegLib2.13.zip
Shared Library, Header-File, DLLs for the Simulator and the Documentation
pnoJpegLib213_src.zip Full Source of the Library for Metrowerks Codewarrior for PalmOS 9.3 and Visual C++ 2005 (for the Simulator DLL)
pnoJpeg211doc.pdf PDF Documentation

Version 2.12: (Bug-Fix-Release)  30. October 2005

pnoJpegLib2.12.zip
Shared Library, Header-File, DLLs for the Simulator and the Documentation
pnoJpegLib212_src.zip Full Source of the Library for Metrowerks Codewarrior for PalmOS 9.3 and Visual C++ 2005 (for the Simulator DLL)
pnoJpeg211doc.pdf PDF Documentation

Version 2.11: (Small Bug-Fix-Release for Version 2.10)

pnoJpegLib211.zip
Shared Library, Header-File, DLLs for the Simulator and the Documentation
pnoJpegLib211_src.zip Full Source of the Library for Metrowerks Codewarrior for PalmOS 9.3 and Visual C++.NET (for the Simulator DLL)
pnoJpeg211doc.pdf PDF Documentation

Version 2.10: (supports loading and saving of JPEG Files; resizing of the loaded Bitmaps)

pnoJpegLib210.zip
Shared Library, Header-File, DLLs for the Simulator and the Documentation
pnoJpegLib210_src.zip Full Source of the Library for Metrowerks Codewarrior for PalmOS 9.3 and Visual C++.NET (for the Simulator DLL)
pnoJpeg210doc.pdf PDF Documentation

Version 2: (supports loading and resizing)

pnoJpegLib2.zip
Shared Library and the Header-File
pnoJpegLib_v2_src.zip Source of the Library for Metrowerks Codewarrior for PalmOS 9.3 and Visual C++.NET (for the Simulator DLL)
pnoJpegLib2DLL.zip DLL for the Simulator
pnoJpeg2Test.zip A Sample-Project for the Library
pnoJpeg2doc.pdf PDF Documentation

Version 1: (supports loading; not longer supported)

pnoJpegLib.zip Shared Library and the Header-File
pnoJpegLib_src.zip Source of the Library for Metrowerks Codewarrior for PalmOS 9.3 and Visual C++.NET (for the Simulator DLL)
pnoJpegLibDLL.dll DLL for the Simulator
pnoJpegTest.zip A Sample-Project for the Library

Bugs:

If you find a Bug, please let me know: jpeg@bin-people.de

License:

Copyright (C) 2004, Stefan Stolz (jpeg@bin-people.de)
Based on the work auf Yves Piguet and the Independent JPEG Group

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the Yves Piguet nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.


License:
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



The Jpeg-Algorithms are provided by the Independent JPEG Group
There is their License valid.

Parts of this Software are written by Yves Piguet. For this Parts you have to follow
his License. (http://www.nyctergatis.com/jpeglib/)

Copyright (c) 2003, Yves Piguet.
All rights reserved.
Based on the work of the Independent JPEG Group.


Document made with Nvu