Re: Error 480 - can't create autoredraw image
- From: "Randy Birch" <rgb_removethis@xxxxxxxx>
- Date: Mon, 28 Aug 2006 19:50:12 -0400
autoredraw creates a memory copy of the image, so if a window is covered
then uncovered VB will repaint the image into the control. When autoredraw
is false, the image loaded into the picture box is just drawn on the device
context of the picture box; there is no 'persistent bitmap' of the image so
when you place another window overtop, the picture disappears.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
Please reply to the newsgroups so all can participate.
"mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote in message
news:J6LIg.2643$bM.1192@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm trying to do a simple crop by
loading a JPG into a picturebox,
then PaintPicture to a second box
with size set to the crop region.
Very simple. It works fine but fails
on certain images. The one picture
I have that fails is 2500 x 1700 pixels
(approx.), from a digital camera. And
other pics saved from the same camera
seem to fail, even though they open
fine in IrfanView or PaintShopPro.
Is the picture just too big? Should I do it
a different way?
(I've never quite grokked what autoredraw
actually does.)
.
- References:
- Error 480 - can't create autoredraw image
- From: mayayana
- Error 480 - can't create autoredraw image
- Prev by Date: Error 480 - can't create autoredraw image
- Next by Date: Re: Error 480 - can't create autoredraw image
- Previous by thread: Error 480 - can't create autoredraw image
- Next by thread: Re: Error 480 - can't create autoredraw image
- Index(es):
Relevant Pages
|