When I try to use an Image .jpg file, and map it in the ImageUrl property of the ImageButton control ,somehow the clarity and quality of the picture gets a little worse. How can I maintain the quality of the image as it was and the use it in my web app. I am using
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I dont know about ImageButton but I do know that if you recompress a  jpeg file it will lose some of its quality or resolution.
Moizsaif123Author Commented:
I was able to get the same picture quality of the image, cause I changed the Url Type of the picture property to Absolute. I dont know why the image quality didnt change....after I changed the Url Type or maybe I resized the Image cze changing the size of images can worsen the quality too...
There doesnt appear to be any properties in the Imagebutton or Image class which can control image quality.You have probably answered your own question may have been due to resizing or alignment.You could try using a different file type although most others are slower than jpegs.
Moizsaif123Author Commented:
I am also guessing due to resizing the image, the quality improved, jpegs are the default image file for software apps, or maybe for windows now...

PAQed, with points refunded (150)

EE Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.