Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Image scaling
Migrateduser
<p>Hi all,</p><p> </p><p>I´m using BIRT (engine ...) to generate PDF, and i´m experience a strange behavior in the image component of my report.</p><p>I´ve a report that has a image component in it, the image component don´t have any fixed size (height or width) and when i put images that are greater than the space available it scales (shrink) the images to the size that is allowed and this scaling appears to be a width scaling because the image grows to the bottom of the component only stopping in the break of the page, but in the sides it dosen´t pass the size of the cell that includes the image component. This is ok, i don´t know how it does this but for me it´s ok.</p><p> </p><p>When i want to put images that are taller than wider this is a problem and i must define a fixed height so that the image appears in the image component. For example i´ve got images that in this case appears only half of it. This is a problem but with the fixed height size the image don´t grows after that size.</p><p>The real problem is when i set the fixed height the images that are smaller than the size of the component the images scale to that size.</p><p>For example i´ve got a image that has the size of 100x100 and the height setted is 300 (height) the image gets the size of 100x300 with the decrease of the quality but scales to that size. This is wrong because in this situation the image don´t maintain the original size.</p><p>The strange thing is when i remove the fixed height the image keeps the original size, but has the problem that i talk earlier.</p><p> </p><p>Does anyone have any ideas to resolve this problem of not keeping the image original size or to have scale the height without setting fixed size?</p><p> </p><p>Cheers,</p><p> </p><p>Bigster</p>
Find more posts tagged with
Comments
There are no comments yet