• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

Image

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 Vb.net
0
Moizsaif123
Asked:
Moizsaif123
  • 2
  • 2
1 Solution
 
librazoneCommented:
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.
0
 
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...
0
 
librazoneCommented:
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 ...it may have been due to resizing or alignment.You could try using a different file type although most others are slower than jpegs.
0
 
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...


0
 
SpazMODicCommented:
PAQed, with points refunded (150)

SpazMODic
EE Moderator
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now