ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Stuart Jansen <sjansen@gurulabs.com>
Subject: texsync'd linux ConTeXt png error
Date: Tue, 07 Jun 2005 15:27:49 -0600	[thread overview]
Message-ID: <1118179669.8860.21.camel@localhost.localdomain> (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

             reply	other threads:[~2005-06-07 21:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-07 21:27 Stuart Jansen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1118179669.8860.21.camel@localhost.localdomain \
    --to=sjansen@gurulabs.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).