openjpeg/applications
Pedro Gimeno 4469a98cd7 Wrong TGA header generated by j2k_to_image
The TGA file writer used by j2k_to_image writes a wrong field to the
header for alpha-less images.

To reproduce:
1. Take any 24-bit j2k image with no alpha.
2. Convert it to TGA with j2k_to_image -i <image>.j2k -o <image>.tga
3. Open <image>.tga with Gimp.

When opened, the image will have a wrong alpha channel, because Gimp
uses a certain field in the header to determine if the image has alpha.
That field is saved wrongly by j2k_to_image for alpha-less images. Per
the TGA specification, Gimp is correct in this case.
2015-09-16 20:28:29 +02:00
..
JavaOpenJPEG [1.5] Fix a typo in comments 2014-04-01 13:55:28 +00:00
OPJViewer [1.5] Use UNIX eol for source code 2012-03-02 09:33:50 +00:00
codec Wrong TGA header generated by j2k_to_image 2015-09-16 20:28:29 +02:00
common [1.5] Rework r2768 in fact getopt_long is slightly different on GNU. Adapt signature to handle BSD signature and GNU one. 2014-03-18 16:26:39 +00:00
jpip [1.5] Import patch from bug tracker 2014-03-25 16:42:49 +00:00
mj2 [1.5] Rework r2769. getopt was still being used in mj2/jpwl codecs 2014-04-01 13:32:02 +00:00
CMakeLists.txt Refactor code to split jpip client code from server side. 2012-01-25 09:42:00 +00:00
Makefile.am follow latest JPIP changes in the autotools side (pthread dependency, conditional compilation of JPIP server and client) 2012-01-25 19:52:18 +00:00