summaryrefslogtreecommitdiff
path: root/codec/convert.c
AgeCommit message (Collapse)Author
2011-04-13re-organization of openjpeg directories hierarchy : step 1Antonin Descampe
2011-04-12convert.c: ENDIAN condition removed, tiftoimage and imagetotif updated ↵Antonin Descampe
(ALPHA added for RGB and GRAY, correct handling of 12-bit precision), small bugfixes (credit to Winfried)
2011-03-20Removed the libs directory containing win32 compiled versions of libpng, ↵Antonin Descampe
libtiff and liblcms. Added a thirdparty directory to include main source files of libtiff, libpng, libz and liblcms to enable support of these formats in the codec executables. CMake will try to statically build these libraries if they are not found on the system. Note that these third party libraries are not required to build libopenjpeg (which has no dependencies).
2011-01-16convert.c: inclusion of endian.h has to be different on APPLE platformsAntonin Descampe
2011-01-11removed forgotten debug info in imagetopnm()Antonin Descampe
2011-01-09imagetopnm() has been rewritten to allow 16-bits precision, and PAM (P7) ↵Antonin Descampe
support. See Netpbm for more info. (patch from szukw000).
2010-12-08 (thanks to Winfried for his help)Antonin Descampe
* [antonin] changed remaining "WIN32" to "_WIN32" ! [antonin] libopenjpeg has no more dependency on LCMS lib. Everything concerning color (icc profile, conversion to rgb, etc) has been put outside libopenjpeg and is used in j2k_to_image.c and mj2_to_frames.c. - [antonin] removed "opj_convert{.c,.h}" + [antonin] added a directory "common/" that contains "getopt{.c,.h}" (previously in "codec/compat"). + [antonin] added files "color{.c,.h}" in "common/" that define the code for icc profile management and sycc_to_rgb conversion + [antonin] added "common/format_defs.h" that contains common definitions used in image_to_j2k, j2k_to_image, j2k_dump.
2010-12-05added a definition in getopt.h and an initial value in convert.cAntonin Descampe
2010-11-28fixed a bug in codec/convert.c that prevented to build executables with ↵Antonin Descampe
WIN32 compiler (thanks winfried)
2010-11-22reverted 'include "../opj_config.h"' to 'include "opj_config.h"'Antonin Descampe
2010-11-15changed imagetopng() function to correctly deal with non-standard ↵Antonin Descampe
bit-depths. Add png support for win32. (from winfried)
2010-10-05Added files to let people build openjpeg with configure tools ; Added ↵Antonin Descampe
makefiles to let people manually build openjpeg on *nix platforms ; Removed obsolete Makefiles ; Renamed dirent.h to windirent.h ; Made optional the PNG, TIFF, and LCMS support in CMake files ; Added opj_config* files to configure openjpeg before building it (opj_config.h generated by configure, cmake, or manually by the user) ; Renamed this file from ChangeLog to CHANGES ; Renamed License.txt to LICENSE ; Updated README files ; Added INSTALL and LICENSE files ; Added man pages
2010-09-08Reverting the use of #include "openjpegConfigure.h" until we find a compatibleLuis Ibanez
way of doing this with autoconf, and with the default VS project files.
2010-09-07ENH: Including the new header file openjpegConfigure.hLuis Ibanez
in order to carry the definition of OPJ_STATIC when building static libraries.
2010-08-31COMP: Remove requirement that png and tiff headers must be in a specific ↵Luis Ibanez
directory relative to this one.
2010-06-22Merge with v2 branchMathieu Malaterre
2010-03-26Added support for PNG image format [Not yet functional under WIN32]. Thanks ↵Francois-Olivier Devaux
to Winfried for this patch. See details here http://code.google.com/p/openjpeg/issues/detail?id=16
2010-03-24Code improvements using 'g++-4.4.0' to trace the code (v1.4). Thanks to ↵Francois-Olivier Devaux
Winfried for this patch.
2009-11-05fixed "tiffio" header inclusion to use user version on Win32 system only ↵Antonin Descampe
(otherwise assume its existence in system headers).
2009-09-10fixed minor bugs which were triggering warnings at compilation (different ↵Antonin Descampe
signedness, wrong pointer type, etc)
2008-08-08Modified the way raw images with more that 8bpp are read and writtenFrancois-Olivier Devaux
2008-02-05In convert.c, corrected imagetobmp() conversion for grayscale. In tcd.c, ↵Parvatha Elangovan
corrected Rate modification in tcd_init_encode().
2007-10-12Changed the way the image structure is allocated when the decoding ↵Francois-Olivier Devaux
parameters include some resolutions to discard. This should have a significant impact for the decoding of huge images when some resolutions are discarder (-r parameter) Warning: The output image size is now reduced when discarding resolutions !
2007-10-10*Patch from Callum Lewick. Clean up of j2klib.h for the aligned malloc stuff. Francois-Olivier Devaux
*convert.c: Changed some error comments for TIFF images
2007-09-19Fixed issues with generation of SOP marker.Parvatha Elangovan
2007-09-18Fixed issues with Reading and Writing TIF images in convert.c to avoid ↵Parvatha Elangovan
segmentation fault. Fixed issues relating to using user specified rates for CINEMA option for multiple images.
2007-09-07Indexes can now be generated when decoding J2K codestreams.Francois-Olivier Devaux
2007-08-20Added support for the TGA file format in the codecFrancois-Olivier Devaux
2007-08-08Fixed the DCinema filesize allocation. It now includes the SOT marker sizeFrancois-Olivier Devaux
2007-07-19Updated libtiff library version to 3.8.2 (for WIN32)Francois-Olivier Devaux
Updated BMP and PxM truncation when decoding J2K files with more than 8 bits (convert.c)
2007-07-18Fixed raw option to encode raw images with more than three components.Francois-Olivier Devaux
2007-07-17Added support for RAW images. This module has been developped by the ↵Francois-Olivier Devaux
University of Perugia team. Thanks to them !
2007-06-04Bugs corrected in decoding of command line (getopt.c), in the handling of 16 ↵Francois-Olivier Devaux
bit files (t1.c and tcd.c) and the calculation of elapsed time for multiple tiles parts (tcd.c and tdc.h).
2007-05-31Fixed the handling of 16bit TIFF files for cinema compression. Modified ↵Francois-Olivier Devaux
"convert.c". Fixed the parameters used for cinema compression (9-7 transform used instead of 5-3). Modified "image_to_j2k.c"
2007-04-12Fixed Error in tiftoimage(). Modification in convert.c.Parvatha Elangovan
2007-04-10Accepting "j2c" as format for Encoding and Decoding. Modification in ↵Parvatha Elangovan
image_to_j2k.c. Modified imagetotif() to read images with signed data. Modification in convert.c.
2007-03-20Added feature for generation of tile parts. Modifications in image_to_j2k.c, ↵Parvatha Elangovan
openjpeg.c, j2k.c, pi.c Added function j2k_write_tlm(),to generate TLM marker for a Digital cinema compliant codestream. Modifications in j2k.c.
2007-02-28Enabled compression of TIF image format to j2k by tifftoimage() and ↵Parvatha Elangovan
decompression of codestream to TIF image format using imagetotif(). Modifications in image_to_j2k.c, j2k_to_image.c, convert.c, convert.h
2007-01-15Copyright updateFrancois-Olivier Devaux
2006-12-04Corrected incorrect fprintf formattingFrancois-Olivier Devaux
2006-07-22STYLE: Fix style issueMathieu Malaterre
2006-07-22BUG: Do not leak with greyscale bmp. Solve problem with name>256 for pgx and ↵Mathieu Malaterre
resolve random memory access (reported by valgrind)
2006-07-21ENH: Marking const char * what should be const char *. TODO need to fix code ↵Mathieu Malaterre
for imagetopgx.
2006-07-21ENH: Minor cleanup, mainly comment and line too longMathieu Malaterre
2006-02-04fixed a bug in codec/convert.c::imagetobmpFreeimage
2006-01-31fixed various minor warnings occuring under icc9 and bcc32, added MSVC ↵Freeimage
project and compiler directives to build a 'standard' WIN32 DLL
2006-01-25fixed a problem in convert.c when multiple commentsAntonin Descampe
2006-01-20fixed various minor warnings with gdcm patchesAntonin Descampe
2005-12-08removed old readme and MakefileAntonin Descampe
2005-12-02openjpeg version 1.0 (previous version still available with tag opj0-97)Antonin Descampe