falik Posted October 23, 2011 Share Posted October 23, 2011 I have to maintain the size of an image to fit the page in external pdf. The problem is that scaling in XSL is either by width or by height. The problem is that I don't actually know if the image will fit the page with it's original height or width and I can't determine that the image must be scaled by one of those attributes. The best way of doing what I want is getting to know the original image size and then deiciding to scale it by height or by width after comparing those numbers with the page's attributes. If I'm wrong or something, just tell me. If you have any ideas on solving the issue I'd be grateful. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.