#1 Re: PDF Engine » Muddy Image rendering in PDF » 2020-06-08 15:58:40

I used this Imagesize in this example, because it is the value for a 100% scale at exactly 600 dpi for 180 mm width. So it would be 1:1 on A4-Papersize. But this is only a sample pic.

In many other cases smaller Images are used. And if I use a smaller resolution the image is still split in slices.

It makes no difference if I use a Compression in JPG or not. And it makes either no difference if I use a PNG with no Compression. Even a Windows-Bitmap is sliced.

Can anyone name a reason why this splitting happens? I'm sure the quality loss would disappear, if it would be drawn at one.

#2 Re: PDF Engine » Muddy Image rendering in PDF » 2020-05-29 09:51:50

Many Thanks for your efforts to draw the logo manually. This would bei a nice solution, if it would have been the only logo. Unfortunately every User has it's own logo. This was only a sample.

Now back to my question. I can't find a slicing in 17 Pixelheight in the source Code. I still think the Logo would look better if it would be rendered in one Piece and not in 17 pixel-Slices. Please take a look in my linked PDF-File, click on the Logo an you'll see what I mean. This is not one image, there are many small images.

Has someone an idea?

#3 Re: PDF Engine » Muddy Image rendering in PDF » 2020-05-28 15:23:38

I don't know what is meant "directly draw the logo". The Drawing to my Live-Canvas is exactly the same routine(on the left), only to the PDF-Canvas (on the right). I think the picture is already drawn directly then.

And it is still not clear, why the picture is split to 17 pixel high slices. Does somebody know why this Splitting happens?

#4 PDF Engine » Muddy Image rendering in PDF » 2020-05-19 08:33:35

Michael Gross
Replies: 7

Hello all,

I use Delphi XE10.3.3 with VCL and the latest synpdf 1.18.5985.

I have some kind of "quality problem" rendering a picture in a PDF-File. Here is a screenshot with the infos.

Bildsynpdf.png

I have noticed, the picture is not rendered at once, it is divided in pieces of 17 pixels height, each 17 pixels seem to be an image itself. In the PDF-File you can see it, if you click on the pic. I think this is the reason why the pic looks muddy at 100% Scaling.

http://migross.de/synpdf/muddyimage.pdf

Can someone give me a hint, what to do to fix the quality?

Greetings
Michael

Board footer

Powered by FluxBB