PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: uncorrect size for image
   PostPosted: 28 Jan 2010, 14:28 
When i try to generate the html page, the picture of orange bars have not the correct size.
Example with the files attached .
ihm example is the html
html2pdf is the pdf generated from the html .

the css used is :

.formCtactTitre1, .formCtactTitre1Off {
width:731px; height:32px;
padding:7px 5px 0 30px;
font-size:12px; font-weight:bold; color:#FFF;
}
.formCtactTitre1 {
background:url(../images/form_ctact_titre1.jpg) no-repeat center;
margin:5px 0 2px 0
}
.formCtactTitre1Off {
background:url(../images/form_ctact_titre1_off.jpg) no-repeat center;
margin:2px 0 2px 0
}

if i add the height of img directly in the css it works :


.formCtactTitre1, .formCtactTitre1Off {
width:731px; height:32px;
padding:7px 5px 0 30px;
font-size:12px; font-weight:bold; color:#FFF;
}
.formCtactTitre1 {
background:url(images/form_ctact_titre1.jpg) no-repeat center;height:40px;
margin:5px 0 2px 0
}
.formCtactTitre1Off {
background:url(images/form_ctact_titre1_off.jpg) no-repeat center;
margin:2px 0 2px 0
}


Attachments:
ihm example.JPG
ihm example.JPG [ 155.1 KiB | Viewed 991 times ]
HTML2PDF_URL.pdf [22.69 KiB]
Downloaded 99 times
  Subject: Re: uncorrect size for image
   PostPosted: 29 Jan 2010, 12:30 
HTML source of the document would help a lot to analyze the problem reason. Could you please send it to support or attach to the thread? Thanks.


  Subject: Re: uncorrect size for image
   PostPosted: 08 Apr 2010, 12:10 
I have the same issue!

It's like if I use zoom property in the css... but I didn't use it.

How to fix?

Thanks

Mk


  Subject: Re: uncorrect size for image
   PostPosted: 09 Apr 2010, 21:34 
I have the same problem here...In HTML the imagem is shown in normal size. When it is rendered with PD4ML, the image is zoomed.

How can we fix that?


  Subject: Re: uncorrect size for image
   PostPosted: 09 Apr 2010, 21:50 
And again: the document HTML source and resulting PDF would help to answer your question.


  Subject: Re: uncorrect size for image
   PostPosted: 12 Apr 2010, 18:28 
How do I attach files to the message?


  Subject: Re: uncorrect size for image
   PostPosted: 12 Apr 2010, 18:57 
pack them to a zip.

below the message text field, there is "choose file" and "add the file" buttons to add a message attachment.


  Subject: Re: uncorrect size for image
   PostPosted: 11 Jun 2010, 18:00 
I think this is an issue of DPI. PD4ML seems to increase the image size by about 20%.

What DPI does PD4ML render at?

If I know that, I can potentially specify a smaller-than-normal height and width for the images in my image tags, so they render properly.

To test this, try rendering any image and you will notice it's larger on the PDF than on the web page, causing it to be pixelated.
Like so:
<img src="http://pd4ml.com/i/logo.gif" width=125 height=100 />

(Haven't tried it without the width/height specified - could that be the cause?)


  Subject: Re: uncorrect size for image
   PostPosted: 21 Jun 2010, 21:42 
I believe I am having a similar problem. All of my images are pixelated. Did you/anyone find a fix for this?

Thanks in advance for any help with this.


  Subject: Re: uncorrect size for image
   PostPosted: 21 Jun 2010, 21:49 
PD4ML never applies any kind of resampling to images. It embeds them to PDF, keeping original pixels untouched.

Here is some info an a possible workaround:
pdf-generation-troubleshooting-f4/prevent-images-being-scaled-t38.html



[Reply]     [ 15 posts ]  Go to page 1, 2  Next

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share