diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-04-12 17:19:46 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-04-12 17:19:46 +0000 |
commit | f437333cf5d63d69f5ab9fd1eb553af4175037d0 (patch) | |
tree | 2f1bd9629e58c9dcf67726c8910012c4852e81c8 /Build/source/texk/web2c/luatexdir/image | |
parent | 307453997ef030ec4dfa1e876feaf0b8b8125bab (diff) |
Allow to build luaTeX with libpng-1.5.x
git-svn-id: svn://tug.org/texlive/trunk@22060 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/image')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/image/writepng.w | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/luatexdir/image/writepng.w b/Build/source/texk/web2c/luatexdir/image/writepng.w index 7d497deea0e..dea43ff0d18 100644 --- a/Build/source/texk/web2c/luatexdir/image/writepng.w +++ b/Build/source/texk/web2c/luatexdir/image/writepng.w @@ -573,7 +573,6 @@ void write_png(PDF pdf, image_dict * idict) */ if (pdf->minor_version > 1 && png_get_interlace_type (png_p, info_p) == PNG_INTERLACE_NONE - && (png_p->transformations == 0 || png_p->transformations == 0x2000) /* gamma */ &&!(png_get_color_type (png_p, info_p) == PNG_COLOR_TYPE_GRAY_ALPHA || png_get_color_type (png_p, info_p) == PNG_COLOR_TYPE_RGB_ALPHA) && ((pdf->image_hicolor != 0) || (png_get_bit_depth (png_p, info_p) <= 8)) @@ -619,8 +618,6 @@ void write_png(PDF pdf, image_dict * idict) if ((pdf->image_apply_gamma != 0) && (checked_gamma > 1.01 || checked_gamma < 0.99)) tex_printf("gamma delta=%lf ", checked_gamma); - if (png_p->transformations != PNG_TRANSFORM_IDENTITY) - tex_printf("transform=%lu", (long) png_p->transformations); if ((png_get_color_type (png_p, info_p) != PNG_COLOR_TYPE_GRAY) && (png_get_color_type (png_p, info_p) != PNG_COLOR_TYPE_RGB) && (png_get_color_type (png_p, info_p) != PNG_COLOR_TYPE_PALETTE)) |