Incorrect PNG format for PDF targets
-
Carsten Pedersen
- Propeller Head
- Posts: 96
- Joined: Wed Feb 08, 2006 1:11 am
Incorrect PNG format for PDF targets
It seems that my favorite program is generating "wrong" PNG files.
The PNGs are however perfectly displayed in HTML Help and all other application I uses, but when placing them in a topic
and generating a PDF output the images are gone from the output?
If I take the PNG image and open it in MS Paint and then resaving it, then it works.
See attachments.
Visat x64
Flare v5.0.1
-cpede
The PNGs are however perfectly displayed in HTML Help and all other application I uses, but when placing them in a topic
and generating a PDF output the images are gone from the output?
If I take the PNG image and open it in MS Paint and then resaving it, then it works.
See attachments.
Visat x64
Flare v5.0.1
-cpede
You do not have the required permissions to view the files attached to this post.
Re: Incorrect PNG format for PDF targets
I don't see any difference in the PNGs.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
-
Carsten Pedersen
- Propeller Head
- Posts: 96
- Joined: Wed Feb 08, 2006 1:11 am
Re: Incorrect PNG format for PDF targets
No the visual contents of the two PNGs is excactly the same. The file sizes however are different, indicating that the two
PNGs contains either different compressions or a different number of RGB and Alpha channels?
If you try to use the two files in Flare as a PDF target only one of them works. This indcates that the PDF image compression
fails to understand one of the formats.
-cpede
PNGs contains either different compressions or a different number of RGB and Alpha channels?
If you try to use the two files in Flare as a PDF target only one of them works. This indcates that the PDF image compression
fails to understand one of the formats.
-cpede
Re: Incorrect PNG format for PDF targets
What program is generating the original PNGs? I use Capture (v4) for most of my PNGs for print (with a few cases of HyperSnap -- some ancient version). I have no problems with them in PDF output.
Flare v6.1 | Capture 4.0.0
-
Carsten Pedersen
- Propeller Head
- Posts: 96
- Joined: Wed Feb 08, 2006 1:11 am
Re: Incorrect PNG format for PDF targets
The question is not as much what program I use, but why the PDF conversion fails in Flare?
It is my own program that generates PNG files using the ImageGear library. If seems
that different kinds of PNG files exist, and I'm generating one that cannot be converted.
The funny thing is, that when using the well known PDF995 print tool, it works, and when
I'm using XML and XLT formatters it also works for PDF output.
Somehow Flare is using a PDF converter that fails for this particular PNG format?
If I knew what the difference is, then I could probably change the way ImageGear saves
the PNG file internally in my program. Or even better, Flare could support the PNG format
correctly.
-cpede
It is my own program that generates PNG files using the ImageGear library. If seems
that different kinds of PNG files exist, and I'm generating one that cannot be converted.
The funny thing is, that when using the well known PDF995 print tool, it works, and when
I'm using XML and XLT formatters it also works for PDF output.
Somehow Flare is using a PDF converter that fails for this particular PNG format?
If I knew what the difference is, then I could probably change the way ImageGear saves
the PNG file internally in my program. Or even better, Flare could support the PNG format
correctly.
-cpede
Re: Incorrect PNG format for PDF targets
I suggest reporting it as a bug, and sending MadCap samples of your PNGs. Let them know the PNGs work in other programs.
Flare v6.1 | Capture 4.0.0
-
Paul Griffiths
- Sr. Propeller Head
- Posts: 262
- Joined: Wed Apr 18, 2007 2:25 am
- Location: Nottingham, UK
Re: Incorrect PNG format for PDF targets
FWIW, RoboHelp has, or at least used to have, a similar problem with handing differently-formatted PNGs.
Re: Incorrect PNG format for PDF targets
We're noticing something similar as we use PNG files (built in Fireworks) as backgrounds on page layouts. Lots of problems in Flare 6 because it simply doesn't want to (1) render a PNG appropriately and (2) a PNG doesn't consistently display in the PDF output.
I'd be willing to bet that building a PNG in Photoshop would have the same effect. Gonna try that MSPaint workaround ...
I'd be willing to bet that building a PNG in Photoshop would have the same effect. Gonna try that MSPaint workaround ...
Re: Incorrect PNG format for PDF targets
And Adobe product that helps build UIs.ccardimon wrote:What is "Fireworks?"
http://en.wikipedia.org/wiki/Adobe_Fireworks
Flare v6.1 | Capture 4.0.0
Re: Incorrect PNG format for PDF targets
It's similar to Illustrator in that you can create vector graphics, but it has a better method of taking a page of elements and transforming it into a web page, especially with mouseover effects. It used to be a Macromedia product.Andrew wrote:And Adobe product that helps build UIs.ccardimon wrote:What is "Fireworks?"
http://en.wikipedia.org/wiki/Adobe_Fireworks
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Re: Incorrect PNG format for PDF targets
Update: Only one graphic displayed on the page layout after tinkering in MSPaint. The rest had to be manipulated in Capture. I found that by entering Capture settings for the graphics they displayed appropriately on the Flare page layout.
However ... there is a white background on the overlying text that obscures the PNG.
Update 2: If you "reverse out" the text (that is, hope to have white text on the background of a PNG), Flare cannot render that either. It renders the entire line of text as a solid white block!
However ... there is a white background on the overlying text that obscures the PNG.
Update 2: If you "reverse out" the text (that is, hope to have white text on the background of a PNG), Flare cannot render that either. It renders the entire line of text as a solid white block!
All life is a blur of Republicans and meat. -- Zippy the Pinhead