Picturebox display

H

Harry Simpson

I've got a 320x240 jpg picture i load into an ImageList in VS2005 mobile
app. The picturebox is 144x108.....got it set to stretch.

In the IDE the picture looks great.....deployed to the device that same
picture is hardly viewable at all.....any ideas how to assure optimal image
quality when deployed on the device?

Device is an Axim x51

TIA

Harry
 
F

Fabien

Hi,

Try to resize your picture with a picture software like ACDSEE or
others... and don't use the stretch function of the picture box. And
try to put the same size for your ImageList and the PictureBox.

BR

Fabien Decret

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/

Harry Simpson a écrit :
 
H

Harry Simpson

I did resize the pic to the same size as the picturebox and used normal or
centered....each time when run on the device the picture looks like it is
about 1/5 the size of the original and doesn't even fill up the same size
picturebox....

Challenging....eh?

Any ideas??

Thanks
Harry

Hi,

Try to resize your picture with a picture software like ACDSEE or
others... and don't use the stretch function of the picture box. And
try to put the same size for your ImageList and the PictureBox.

BR

Fabien Decret

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/

Harry Simpson a écrit :
 
J

Joseph Byrns

Does your dell by any chance have the 640x480 display? If so is it possible
your picture box is doubling in size when launched on the device but the
picture in it remains the same at 144x108? If you double the size of the
picture (288x216) does that help?

Are you using VS2005? If so have you looked to see if the FormFactor
property of the form is set to VGA or not?
 
H

Harry Simpson

Joseph

yes i'm using VS2005 and Form Factor was set to non VGA
formfactor.....almost like the image is getting changed after I add it to
the ImageList. If i just set the picturebox to the same size as the picture
everything is fine and simply show the picbox.....but if I dynamically load
the same pic from the ImageList.....it's screwed up and barely
recognizable......

TIA
Harry
 
H

Harry Simpson

That was it!! the sucker is preset to 16x16 when you add the ImageList.....
"Setting the ImageSize property prior to adding images to the image
collection causes the images to be resized to the image size specified."

The default ought to be not set....i never even had to worry about this
before......i'd submit this as at least a usablity issue.



Thanks

Harry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top