source: ImageMagick/trunk/coders/png.c @ 4108

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @4108   2 years cristy
(edit) @4105   2 years cristy
(edit) @3959   2 years glennrp Updated comments about PNG8 reductions in coders/png.c
(edit) @3948   2 years glennrp Force PNG decoder to return image->matte=MagickTrue? when the PNG has …
(edit) @3935   2 years glennrp Preserve colors better using 4-4-4 palette when possible when reducing to …
(edit) @3934   2 years glennrp Use 50% threshold, try 3-3-3 palette, collapse all transparent colors to …
(edit) @3920   2 years glennrp Force the PNG encoder to write an all-opaque alpha channel with "-define …
(edit) @3918   2 years glennrp Re-enabled writing grayscale PNG with bit depth 2 or 4.
(edit) @3884   2 years glennrp
(edit) @3883   2 years glennrp
(edit) @3882   2 years glennrp set quantum->info=ping_bit_depth when writing low bit-depth grayscale PNGs …
(edit) @3872   2 years glennrp
(edit) @3845   2 years glennrp The "-define PNG:exclude-chunk=bKGD" was also excluding other text chunks.
(edit) @3844   2 years glennrp Don't store background color in the colormap if there are already 256 …
(edit) @3818   2 years glennrp Ifdef out currently unused "depth_4_ok" and "depth_2_ok" variable …
(edit) @3817   2 years cristy
(edit) @3816   2 years glennrp Also skip text:density chunk found in a PNG datastream by the PNG decoder, …
(edit) @3815   2 years glennrp Do write a text:density chunk if the pHYs chunk is excluded.
(edit) @3814   2 years glennrp Don't write a text:density chunk in a PNG output file.
(edit) @3810   2 years glennrp Fixed two other instances of throwing exception to image instead if …
(edit) @3808   2 years glennrp Throw exception into the correct image structure (IMimage) when the PNG …
(edit) @3806   2 years glennrp Folded long lines in coders/png.c
(edit) @3797   2 years cristy
(edit) @3763   2 years glennrp Delay opening a blob until the PNG encoder is ready to write the IHDR …
(edit) @3751   2 years glennrp Fix 3-3-2 palette generation to work with Q16 and Q32 builds.
(edit) @3735   2 years glennrp Fixed quantization to 3-3-2 palette when image->depth is 8 on a Q16 build.
(edit) @3730   2 years glennrp Expanded the commentary about PNG8, PNG24, and PNG32 sub-formats.
(edit) @3729   2 years glennrp Make sure image->colormap isn't NULL before we read it.
(edit) @3727   2 years glennrp Make sure criteria for writing PNG "cheap transparency" are met.
(edit) @3717   2 years glennrp Call png_error() after detecting NULL colormap when writing PNG8
(edit) @3715   2 years glennrp Don't read from the colormap when it's NULL.
(edit) @3712   2 years glennrp Scan the colormap, not the pixels, to determine if image is b-w or …
(edit) @3709   2 years glennrp Eliminate a redundant test and add a "TO DO" comment in coders/png.c
(edit) @3705   2 years glennrp Eliminated redundant tests for gray images; write palette-indexed images …
(edit) @3700   2 years cristy
(edit) @3699   2 years cristy
(edit) @3698   2 years glennrp Temporarily (I hope) disabled reduction of grayscale images to bitdepth < …
(edit) @3690   2 years cristy
(edit) @3683   2 years glennrp Added some logging to coders/png.c
(edit) @3674   2 years glennrp Comment out unused declarations for png_exclude_EXIF and png_exclude_tRNS
(edit) @3673   2 years glennrp Check "count" return while reading the JNG signature.
(edit) @3672   2 years glennrp Comment out unused png_exclude_* and check the "count" return while …
(edit) @3637   2 years cristy
(edit) @3629   2 years glennrp Reverted latest change to coders/png.c
(edit) @3624   2 years glennrp Make it possible to build with libpng-1.4.x when png_set_longjmp_fn is …
(edit) @3597   2 years glennrp Ignore bogus q->opacity values when image->matte is MagickFalse?.
(edit) @3496   2 years glennrp Get out of libpng's namespace (stuff beginning with "png_" or "PNG_").
(edit) @3495   2 years glennrp Added commentary about always excluding unknown chunks
(edit) @3486   2 years glennrp Fixed case where black is written as transparent by the PNG encoder.
(edit) @3484   2 years glennrp Removed a costly call to GetNumberColors?() from the PNG encoder.
(edit) @3458   2 years glennrp Changed default transparent_color from (0,0,0) to (65537,65537,65537). …
(edit) @3439   2 years glennrp Avoid possible overflow while counting colors in the PNG encoder.
(edit) @3422   2 years glennrp Quieted warnings about png_get_iCCP and png_set_iCCP arising from …
(edit) @3417   2 years glennrp made image_colors and number_colors type int instead of ssize_t.
(edit) @3416   2 years glennrp Made local variable "have_mng_structure" MagickBooleanType? instead of int.
(edit) @3415   2 years glennrp Changed local variables matte and image_matte to MagickBooleanType?
(edit) @3413   2 years glennrp Removed trailing blanks.
(edit) @3410   2 years cristy
(edit) @3409   2 years cristy
(edit) @3395   2 years glennrp Fix colortype selection for PNG grayscale output.
(edit) @3390   2 years glennrp Passing all regression tests now.
(edit) @3385   2 years glennrp Png decoder now checks whether the image actually has any transparent …
(edit) @3349   2 years glennrp Handle transparent images properly when tRNS chunk is excluded.
(edit) @3348   2 years glennrp Fix typos in png.c (gama should be srgb) and add tRNS to the list of …
(edit) @3347   2 years glennrp Accept -define PNG:exclude-chunks and include-chunks as exclude-chunk, …
(edit) @3346   2 years glennrp Make the PNG encoder exclude the gAMA chunk when requested. Trivially fix …
(edit) @3345   2 years glennrp Fix some indentation, use "logging" consistently as a MagickBooleanType?.
(edit) @3343   2 years glennrp Get both Property and Artifact directives in coders/png.c
(edit) @3341   2 years glennrp Use SetImageOption? instead of SetImageArtifact?
(edit) @3340   2 years cristy
(edit) @3339   2 years cristy
(edit) @3337   2 years glennrp Avoid writing ancillary chunks while generating the JNG alpha channel.
(edit) @3334   2 years glennrp Added png:exclude-chunk and png:include-chunk defines
(edit) @3323   2 years glennrp Use a clone instead of the main image in the PNG encoder.
(edit) @3309   2 years cristy
(edit) @3308   2 years glennrp Removed some dead code (already in an #if 0 block)
(edit) @3307   2 years glennrp Eliminated some IsGray?() tests, rewrote BUILD_PALETTE block.
(edit) @3305   2 years cristy
(edit) @3300   2 years glennrp Eliminated unnecessary quantization and some other "if 0" blocks.
(edit) @3299   2 years glennrp Fixed a confusing but apparently harmless improper loop nesting in PNG …
(edit) @3291   2 years glennrp Eliminated CompressColormapTransFirst?.
(edit) @3284   2 years glennrp Avoid using clone_image; all we needed was a local copy of the colormap.
(edit) @3283   2 years glennrp PNG encoder always rebuilds the palette to avoid losing transparency.
(edit) @3261   2 years cristy
(edit) @3249   2 years glennrp Don't SyncImage? on entry to the PNG encoder if depth > 8 (lost …
(edit) @3245   2 years cristy
(edit) @3215   2 years glennrp Changed a bunch of "if (logging)" to "if (logging != MagickFalse?)".
(edit) @3213   2 years glennrp Fixed another case where PNG transparency was lost, by working around the …
(edit) @3210   2 years glennrp re-enabled palette-sorting in the png encoder, inavertently disabled …
(edit) @3208   2 years glennrp Fixed another case where the PNG encoder lost transparency.
(edit) @3203   2 years glennrp Fixed some indentations and added lots of blank lines in coders/png.c
(edit) @3202   2 years glennrp Fixed another bad completion-of-loop test (x==image->columns should be …
(edit) @3201   2 years glennrp Fixed bad loop-completion test in png.c ("x != 0" should be "x >= 0")
(edit) @3197   2 years glennrp revised LosslessReduce?() to LosslessReduceOK() to simply return a flag
(edit) @3192   2 years glennrp Fixed another case were transparency was lost by the PNG encoder, due to …
(edit) @3183   2 years cristy
(edit) @3170   2 years glennrp Merged redundant code into new LosslessReduceDepth?() function.
(edit) @3168   2 years glennrp Treat "-type Optimize" as undefined type in the PNG encoder; always …
(edit) @3165   3 years glennrp Fixed various problems with the PNG encoder, mainly loss of transparency.
(edit) @3164   3 years glennrp Fixed some of the transparency loss cases in the PNG encoder.
Note: See TracRevisionLog for help on using the revision log.