ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* texsync'd linux ConTeXt png error
@ 2005-06-07 21:27 Stuart Jansen
  2005-06-07 21:39 ` Taco Hoekwater
  2005-06-08  7:34 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Stuart Jansen @ 2005-06-07 21:27 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 902 bytes --]

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 <sjansen@gurulabs.com>
Guru Labs, L.C.

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: texsync'd linux ConTeXt png error
  2005-06-07 21:27 texsync'd linux ConTeXt png error Stuart Jansen
@ 2005-06-07 21:39 ` Taco Hoekwater
  2005-06-07 22:01   ` Stuart Jansen
  2005-06-08  7:34 ` Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2005-06-07 21:39 UTC (permalink / raw)



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
> ---

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: texsync'd linux ConTeXt png error
  2005-06-07 21:39 ` Taco Hoekwater
@ 2005-06-07 22:01   ` Stuart Jansen
  2005-06-08  6:58     ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Stuart Jansen @ 2005-06-07 22:01 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 976 bytes --]

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 <sjansen@gurulabs.com>
Guru Labs, L.C.

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: texsync'd linux ConTeXt png error
  2005-06-07 22:01   ` Stuart Jansen
@ 2005-06-08  6:58     ` Taco Hoekwater
  0 siblings, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2005-06-08  6:58 UTC (permalink / raw)


Stuart Jansen wrote:

>                    tex : pdfeTeX, 3.141592-1.20a-2.2 (Web2C 7.5.3)

You have to update pdfeTeX. Did it come from one of the archives
at Pragma?

Taco

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: texsync'd linux ConTeXt png error
  2005-06-07 21:27 texsync'd linux ConTeXt png error Stuart Jansen
  2005-06-07 21:39 ` Taco Hoekwater
@ 2005-06-08  7:34 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2005-06-08  7:34 UTC (permalink / raw)


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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-06-08  7:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-07 21:27 texsync'd linux ConTeXt png error Stuart Jansen
2005-06-07 21:39 ` Taco Hoekwater
2005-06-07 22:01   ` Stuart Jansen
2005-06-08  6:58     ` Taco Hoekwater
2005-06-08  7:34 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).