Image.ImageInfo.FixHeight?


#1

My company will occasionally use images as KPIs (key performance indicators), so the images are scaled by a certain value passed in at runtime. I’ve noticed that ImageInfo.FixWidth accomplishes the horizontal scaling but also affects the vertical scaling. Is there any way for you to separate image scaling into two fields and support a FixHeight field?

Thanks.


#2

Dear cohenn,

Thank you for considering Aspose.

Separating image scaling into two fields will make the image distortion. If you really want to scale without proportion, can you please process your image using .Net before adding it into the pdf?


#3

I will look into that possibility. Thanks.