|
|
|
@3797
|
2 years |
cristy |
|
|
|
|
@3763
|
2 years |
glennrp |
Delay opening a blob until the PNG encoder is ready to write the IHDR …
|
|
|
|
@3751
|
2 years |
glennrp |
Fix 3-3-2 palette generation to work with Q16 and Q32 builds.
|
|
|
|
@3735
|
2 years |
glennrp |
Fixed quantization to 3-3-2 palette when image->depth is 8 on a Q16 build.
|
|
|
|
@3730
|
2 years |
glennrp |
Expanded the commentary about PNG8, PNG24, and PNG32 sub-formats.
|
|
|
|
@3729
|
2 years |
glennrp |
Make sure image->colormap isn't NULL before we read it.
|
|
|
|
@3727
|
2 years |
glennrp |
Make sure criteria for writing PNG "cheap transparency" are met.
|
|
|
|
@3717
|
2 years |
glennrp |
Call png_error() after detecting NULL colormap when writing PNG8
|
|
|
|
@3715
|
2 years |
glennrp |
Don't read from the colormap when it's NULL.
|
|
|
|
@3712
|
2 years |
glennrp |
Scan the colormap, not the pixels, to determine if image is b-w or …
|
|
|
|
@3709
|
2 years |
glennrp |
Eliminate a redundant test and add a "TO DO" comment in coders/png.c
|
|
|
|
@3705
|
2 years |
glennrp |
Eliminated redundant tests for gray images; write palette-indexed images
…
|
|
|
|
@3700
|
2 years |
cristy |
|
|
|
|
@3699
|
2 years |
cristy |
|
|
|
|
@3698
|
2 years |
glennrp |
Temporarily (I hope) disabled reduction of grayscale images to bitdepth < …
|
|
|
|
@3690
|
2 years |
cristy |
|
|
|
|
@3683
|
2 years |
glennrp |
Added some logging to coders/png.c
|
|
|
|
@3674
|
2 years |
glennrp |
Comment out unused declarations for png_exclude_EXIF and png_exclude_tRNS
|
|
|
|
@3673
|
2 years |
glennrp |
Check "count" return while reading the JNG signature.
|
|
|
|
@3672
|
2 years |
glennrp |
Comment out unused png_exclude_* and check the "count" return while …
|
|
|
|
@3637
|
2 years |
cristy |
|
|
|
|
@3629
|
2 years |
glennrp |
Reverted latest change to coders/png.c
|
|
|
|
@3624
|
2 years |
glennrp |
Make it possible to build with libpng-1.4.x when png_set_longjmp_fn is
…
|
|
|
|
@3597
|
2 years |
glennrp |
Ignore bogus q->opacity values when image->matte is MagickFalse?.
|
|
|
|
@3496
|
2 years |
glennrp |
Get out of libpng's namespace (stuff beginning with "png_" or "PNG_").
|
|
|
|
@3495
|
2 years |
glennrp |
Added commentary about always excluding unknown chunks
|
|
|
|
@3486
|
2 years |
glennrp |
Fixed case where black is written as transparent by the PNG encoder.
|
|
|
|
@3484
|
2 years |
glennrp |
Removed a costly call to GetNumberColors?() from the PNG encoder.
|
|
|
|
@3458
|
2 years |
glennrp |
Changed default transparent_color from (0,0,0) to (65537,65537,65537).
…
|
|
|
|
@3439
|
2 years |
glennrp |
Avoid possible overflow while counting colors in the PNG encoder.
|
|
|
|
@3422
|
2 years |
glennrp |
Quieted warnings about png_get_iCCP and png_set_iCCP arising from …
|
|
|
|
@3417
|
2 years |
glennrp |
made image_colors and number_colors type int instead of ssize_t.
|
|
|
|
@3416
|
2 years |
glennrp |
Made local variable "have_mng_structure" MagickBooleanType? instead of int.
|
|
|
|
@3415
|
2 years |
glennrp |
Changed local variables matte and image_matte to MagickBooleanType?
|
|
|
|
@3413
|
2 years |
glennrp |
Removed trailing blanks.
|
|
|
|
@3410
|
2 years |
cristy |
|
|
|
|
@3409
|
2 years |
cristy |
|
|
|
|
@3395
|
2 years |
glennrp |
Fix colortype selection for PNG grayscale output.
|
|
|
|
@3390
|
2 years |
glennrp |
Passing all regression tests now.
|
|
|
|
@3385
|
2 years |
glennrp |
Png decoder now checks whether the image actually has any transparent …
|
|
|
|
@3349
|
2 years |
glennrp |
Handle transparent images properly when tRNS chunk is excluded.
|
|
|
|
@3348
|
2 years |
glennrp |
Fix typos in png.c (gama should be srgb) and add tRNS to the list of …
|
|
|
|
@3347
|
2 years |
glennrp |
Accept -define PNG:exclude-chunks and include-chunks as exclude-chunk, …
|
|
|
|
@3346
|
2 years |
glennrp |
Make the PNG encoder exclude the gAMA chunk when requested.
Trivially fix …
|
|
|
|
@3345
|
2 years |
glennrp |
Fix some indentation, use "logging" consistently as a MagickBooleanType?.
|
|
|
|
@3343
|
2 years |
glennrp |
Get both Property and Artifact directives in coders/png.c
|
|
|
|
@3341
|
2 years |
glennrp |
Use SetImageOption? instead of SetImageArtifact?
|
|
|
|
@3340
|
2 years |
cristy |
|
|
|
|
@3339
|
2 years |
cristy |
|
|
|
|
@3337
|
2 years |
glennrp |
Avoid writing ancillary chunks while generating the JNG alpha channel.
|
|
|
|
@3334
|
2 years |
glennrp |
Added png:exclude-chunk and png:include-chunk defines
|
|
|
|
@3323
|
2 years |
glennrp |
Use a clone instead of the main image in the PNG encoder.
|
|
|
|
@3309
|
2 years |
cristy |
|
|
|
|
@3308
|
2 years |
glennrp |
Removed some dead code (already in an #if 0 block)
|
|
|
|
@3307
|
2 years |
glennrp |
Eliminated some IsGray?() tests, rewrote BUILD_PALETTE block.
|
|
|
|
@3305
|
2 years |
cristy |
|
|
|
|
@3300
|
2 years |
glennrp |
Eliminated unnecessary quantization and some other "if 0" blocks.
|
|
|
|
@3299
|
2 years |
glennrp |
Fixed a confusing but apparently harmless improper loop nesting in PNG …
|
|
|
|
@3291
|
2 years |
glennrp |
Eliminated CompressColormapTransFirst?.
|
|
|
|
@3284
|
2 years |
glennrp |
Avoid using clone_image; all we needed was a local copy of the colormap.
|
|
|
|
@3283
|
2 years |
glennrp |
PNG encoder always rebuilds the palette to avoid losing transparency.
|
|
|
|
@3261
|
2 years |
cristy |
|
|
|
|
@3249
|
2 years |
glennrp |
Don't SyncImage? on entry to the PNG encoder if depth > 8 (lost …
|
|
|
|
@3245
|
2 years |
cristy |
|
|
|
|
@3215
|
2 years |
glennrp |
Changed a bunch of "if (logging)" to "if (logging != MagickFalse?)".
|
|
|
|
@3213
|
2 years |
glennrp |
Fixed another case where PNG transparency was lost, by working around the
…
|
|
|
|
@3210
|
2 years |
glennrp |
re-enabled palette-sorting in the png encoder, inavertently disabled …
|
|
|
|
@3208
|
2 years |
glennrp |
Fixed another case where the PNG encoder lost transparency.
|
|
|
|
@3203
|
2 years |
glennrp |
Fixed some indentations and added lots of blank lines in coders/png.c
|
|
|
|
@3202
|
2 years |
glennrp |
Fixed another bad completion-of-loop test (x==image->columns should be …
|
|
|
|
@3201
|
2 years |
glennrp |
Fixed bad loop-completion test in png.c ("x != 0" should be "x >= 0")
|
|
|
|
@3197
|
2 years |
glennrp |
revised LosslessReduce?() to LosslessReduceOK() to simply return a flag
|
|
|
|
@3192
|
2 years |
glennrp |
Fixed another case were transparency was lost by the PNG encoder, due
to …
|
|
|
|
@3183
|
2 years |
cristy |
|
|
|
|
@3170
|
3 years |
glennrp |
Merged redundant code into new LosslessReduceDepth?() function.
|
|
|
|
@3168
|
3 years |
glennrp |
Treat "-type Optimize" as undefined type in the PNG encoder; always …
|
|
|
|
@3165
|
3 years |
glennrp |
Fixed various problems with the PNG encoder, mainly loss of transparency.
|
|
|
|
@3164
|
3 years |
glennrp |
Fixed some of the transparency loss cases in the PNG encoder.
|
|
|
|
@3163
|
3 years |
glennrp |
Also swap duplicate transparent PNG palette entries
|
|
|
|
@3162
|
3 years |
glennrp |
Fixed some indentation in coders/png.c and added some whitespace.
|
|
|
|
@3161
|
3 years |
glennrp |
Simplify palette-entry swapping in PNG encoder.
|
|
|
|
@3147
|
3 years |
glennrp |
Relocated png_set_oFFs and png_set_pHYs after png_set_IHDR.
|
|
|
|
@3146
|
3 years |
glennrp |
Simplified coders/png.c to not use png_set_invalid().
|
|
|
|
@3145
|
3 years |
glennrp |
Fixed some cases where transparency was lost while writing PNG
|
|
|
|
@3139
|
3 years |
glennrp |
Throw warning if defined png:color-type or png:bit-depth value is invalid.
|
|
|
|
@3136
|
3 years |
glennrp |
Reorganized and revised PNG encoder to avoid emitting some spurious …
|
|
|
|
@3114
|
3 years |
cristy |
|
|
|
|
@3054
|
3 years |
glennrp |
Made "opt_map" a parameter of OptimizePNGColormap
|
|
|
|
@3053
|
3 years |
glennrp |
Renamed CompressColormapTransFirst? to OptimizePNGColormap.
|
|
|
|
@3052
|
3 years |
glennrp |
Relocated CompressColormapTransFirst? into the encoding part of …
|
|
|
|
@3030
|
3 years |
glennrp |
Use VirtualPixels? while writing png
|
|
|
|
@3019
|
3 years |
glennrp |
Revised palette optimization in png.c and added some debugging.
|
|
|
|
@2823
|
3 years |
cristy |
|
|
|
|
@2808
|
3 years |
cristy |
|
|
|
|
@2677
|
3 years |
cristy |
|
|
|
|
@2539
|
3 years |
cristy |
|
|
|
|
@2526
|
3 years |
cristy |
|
|
|
|
@2409
|
3 years |
glennrp |
Warn if PNG colortype and bitdepth on "-define" directive can't be met …
|
|
|
|
@2387
|
3 years |
cristy |
|
|
|
|
@2381
|
3 years |
glennrp |
map PNG intent to image->rendering_intent properly.
|
|
|
|