I am a developer and in one of my project I have used crystal report.
In crystal report I have used BLOB field and I have set Scaling size of this with 15 height and 15 width. Its working as expected with this, it is showing the image appropriately even image is big or small with proper height and width.
Now, I want to create dynamic html string and use the image with same size in C# using html control with img tag, so I just want to know how I can convert the scale size into pixel or percentage using C# to create image or how I can calculate the height and width ,so it will display image same as blob field in C#
Overall, How I can convert the scale size of BLOB field into pixel or percentage using C# code or is their any mechanism to calculate height and width percentage same as blob field.
Please help me on this.