Author |
Message |
Robb Shecte #1 / 8
|
 Saving image stretch results?
Hi, I want to essentially create thumbnails within VB. Is there a way to save the smaller, stretched Image's Picture? I found that doing a SavePicture on its picture property saves the image in its original size. Thanks for any pointers, Robb
|
Tue, 14 Sep 2004 02:59:28 GMT |
|
 |
Max Bolingbrok #2 / 8
|
 Saving image stretch results?
Before savepicture set the Picture of the control to its Image. Max Bolingbroke
Quote: > Hi, > I want to essentially create thumbnails within VB. Is there a way to save > the smaller, stretched Image's Picture? > I found that doing a SavePicture on its picture property saves the image in > its original size. > Thanks for any pointers, > Robb
|
Tue, 14 Sep 2004 03:07:14 GMT |
|
 |
Robb Shecte #3 / 8
|
 Saving image stretch results?
Quote: > Before savepicture set the Picture of the control to its Image.
I don't understand - do you mean doing this: (?) set anImage.Picture = anImage.Picture SavePicture anImage.Picture, filename
|
Tue, 14 Sep 2004 03:14:45 GMT |
|
 |
Aristotelis Charalampaki #4 / 8
|
 Saving image stretch results?
mmm, Load a picture (using LoadPicture()) into pic1.picture Do a .PaintPicture of pic1.picture to pic2 and stretch it as desired save pic2.image to disk - note that when using Savepicture(pic2.image...) the resulting file will be a bitmap. HTH, Aris
Quote: > Hi, > I want to essentially create thumbnails within VB. Is there a way to save > the smaller, stretched Image's Picture? > I found that doing a SavePicture on its picture property saves the image in > its original size. > Thanks for any pointers, > Robb
|
Tue, 14 Sep 2004 07:45:35 GMT |
|
 |
Robb Shecte #5 / 8
|
 Saving image stretch results?
Quote: > mmm, Load a picture (using LoadPicture()) into pic1.picture > Do a .PaintPicture of pic1.picture to pic2 and stretch it as desired > save pic2.image to disk - note that when using Savepicture(pic2.image...) > the resulting file will be a bitmap.
Thanks - assuming I get this part working, it looks like VB will save the file as a BMP. Does VB have a GIF or JPEG encoder? Robb
|
Tue, 14 Sep 2004 07:01:45 GMT |
|
 |
Mike William #6 / 8
|
 Saving image stretch results?
Quote:
> Thanks - assuming I get this part working, it looks like VB will save the > file as a BMP. Does VB have a GIF or JPEG encoder?
Nope! But there is a free DLL (written by the good people at Intel) that you can use from VB and that will save pictures as Jpegs for you. I can't remember the url address, but I'm sure somebody here will come up with it. Mike
|
Tue, 14 Sep 2004 08:32:46 GMT |
|
 |
Robb Shecte #7 / 8
|
 Saving image stretch results?
Quote: > http://appsr.intel.com/scripts-df/Product_Filter.asp?ProductID=240
Thanks!
|
Wed, 15 Sep 2004 01:42:47 GMT |
|
|