Thanks, it's fixed.
Eelco
On 11/20/05, Matej Knopp <[EMAIL PROTECTED]> wrote:
> Hi,
>
> there's a bug in JRImageResource that the size of output image does not
> reflets the zoom. (It's always the same - iamage than gets cropped).
>
> I wanted to submit a bugreport and commit a patch but I can't even
> checkout the project from anonymous cvs (I've got the source code from
> web interface) nor can I login to sf.
>
> this should fix it:
>
> class JRImageResource
>
> ...
>
> protected byte[] getData() {
> ...
> // create an image object
> BufferedImage image = new BufferedImage((int)
> (float)print.getPageWidth() * getZoomRatio()),
> (int) ((float)print.getPageHeight() *
> getZoomRatio()), type);
>
> ...
> }
>
> -Matej
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user