texsync'd linux ConTeXt png error
I'm using the latest texsync'd version of ConTeXt on 32bit and 64bit
linux. Looks like either ConTeXt or pdfetex can't handle PNG's with an
alpha channel.
PNG image data, 8-bit/color RGB, non-interlaced <-- works fine
PNG image data, 8-bit/color RGBA, non-interlaced <-- corrupt pdf
PNG image data, 8-bit gray+alpha, non-interlaced <-- following error:
---
libpng warning: Ignoring bad adaptive filter type
libpng warning: Ignoring bad adaptive filter type
libpng warning: Ignoring bad adaptive filter type
---
repeated ad nauseum
(To benefit anyone coming across this message in the archives:)
As a work around, assuming you don't need the alpha, the image can be
converted to RGB in The Gimp using Layers > Flatten Image.
Alternatively, using Image Magick, the command would be
convert image.png png24:image-new.png
--
Stuart Jansen
Sounds like a bug in pdftex. What does texexec -- version report? (There is a known bug with pdtex 1.20a, I think) Taco Stuart Jansen wrote:
--- libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type ---
On Tue, 2005-06-07 at 23:39 +0200, Taco Hoekwater wrote:
Sounds like a bug in pdftex. What does texexec -- version report? (There is a known bug with pdtex 1.20a, I think)
TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005
texexec : TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
tex : pdfeTeX, 3.141592-1.20a-2.2 (Web2C 7.5.3)
context : ver: 2005.03.16
cont-en : ver: 2005.03.16 fmt: 2005.6.7 mes: english
cont-cz : ver: 2005.03.16 fmt: 2005.5.28 mes: czech
cont-de : ver: 2005.03.16 fmt: 2005.5.28 mes: german
cont-it : ver: 2005.03.16 fmt: 2005.5.28 mes: italian
cont-nl : ver: 2005.03.16 fmt: 2005.6.7 mes: dutch
cont-ro : ver: 2005.03.16 fmt: 2005.5.28 mes: romanian
--
Stuart Jansen
Stuart Jansen wrote:
I'm using the latest texsync'd version of ConTeXt on 32bit and 64bit linux. Looks like either ConTeXt or pdfetex can't handle PNG's with an alpha channel.
PNG image data, 8-bit/color RGB, non-interlaced <-- works fine PNG image data, 8-bit/color RGBA, non-interlaced <-- corrupt pdf PNG image data, 8-bit gray+alpha, non-interlaced <-- following error: --- libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type --- repeated ad nauseum
(To benefit anyone coming across this message in the archives:) As a work around, assuming you don't need the alpha, the image can be converted to RGB in The Gimp using Layers > Flatten Image. Alternatively, using Image Magick, the command would be convert image.png png24:image-new.png
i will update the binaries soon, there has been some fixes and extensions to pdftex and there will be a new release Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Stuart Jansen
-
Taco Hoekwater