Copy link to clipboard
Copied
I am currently making a design in inDesign and I am importing some transparent images. In the past it works by Ctrl + D the pictures into my placeholders, but this time instead of a transparent background, it shows an "orange"-like background in what supposed to be the transparent "part". What should I do to fix this?
It works now -- I tried saving it as a PNG-24 instead and for some reason it works.
Copy link to clipboard
Copied
What is the format of the image? What version of InDesign? What operating system? Is the frame filled with a color?
Copy link to clipboard
Copied
I am using a PNG-8 (dithered) format for the picture. The version of my inDesign is the 2018 (13.0) version. I am using a Windows 10 Pro Build 16299 64-bit. The whole background is filled with this color except for the object in the picture.
Copy link to clipboard
Copied
Try resaving the PNG in Photoshop. Some applications seem to create non-standard PNG files.
Copy link to clipboard
Copied
It works now -- I tried saving it as a PNG-24 instead and for some reason it works.
Copy link to clipboard
Copied
PNG-24 supports transparency, PNG-8 does not.
Copy link to clipboard
Copied
Technically, PNG-8 supports one level of transparency; PNG-24 supports 256 levels of transparency.
Copy link to clipboard
Copied
Yes, that's a more accurate description, thanks.
Copy link to clipboard
Copied
IDEAS-Training wrote
Technically, PNG-8 supports one level of transparency; PNG-24 supports 256 levels of transparency.
No, PNG-8 also allows more levels within a single image. (You probably mean that Photoshop does not support it. That's something different.)
Copy link to clipboard
Copied
Thank you, Jongware for clarifying--yes, I was thinking of Photoshop. If I remember, it supports 16 levels (2^4)--is that correct?
Copy link to clipboard
Copied
The official specifications state that for every color index you can add an individual amount of transparency:
For color type 3 (indexed color), the tRNS chunk contains a series of one-byte alpha values, corresponding to entries in the PLTE chunk:
Alpha for palette index 0: 1 byte
Alpha for palette index 1: 1 byte
...etc...
You can deduce where the orange background in OP's image came from: the original palette color is orange and is picked up by InDesign, and the associated tRNS value is totally ignored.
The specifications do mention a minimum, but funny enough no maximum:
The tRNS chunk must not contain more alpha values than there are palette entries, but tRNS can contain fewer values than there are palette entries. In this case, the alpha value for all remaining palette entries is assumed to be 255. In the common case in which only palette index 0 need be made transparent, only a one-bytetRNS chunk is needed.
(PNG Specification: Chunk Specifications , 4.2.1.1 tRNS Transparency)
It comes down to "all color indexes may be marked as transparent", so the maximum possible number of levels is 256, synchronous with the maximum number of color indexes in an 8-bit indexed image.
Copy link to clipboard
Copied
https://forums.adobe.com/people/Steve+Werner wrote
Try resaving the PNG in Photoshop. Some applications seem to create non-standard PNG files.
In this case it's InDesign which does not support some PNG formats, even though they are standard. 8-bit indexed color with a transparency channel is one of these.
Copy link to clipboard
Copied
Is the rest of the layout "grayed" out? If yes, check your Flattener Preview panel.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now