|
-
Aug 9th, 2000, 04:00 AM
#1
Thread Starter
Junior Member
Does anyone have any code examples that can resize a jpg? I want to be able to make thumbnails automaticaly instead of having to do it using a seperate program. I played with a intel dll a while back that lets you save a jpg but couldn't get it to do what i wanted.
-
Aug 9th, 2000, 08:17 AM
#2
transcendental analytic
You should use paintpicture to resize your picture
Code:
object.PaintPicture picture, x1, y1, width1, height1, x2, y2, width2, height2, vbsrccopy
Just specify the object you want to paint to, the picture is the source picture property of a image or picturebox, and the coordinates and size parameters
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Aug 9th, 2000, 04:22 PM
#3
transcendental analytic
You just have to save it back to the jpg, but that's another problem, i think there's code for that somewhere, try search for it
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Aug 9th, 2000, 04:46 PM
#4
VB cannot save in JPEG format. If you change the file extention to .JPG, it will save, but the format will still be a Bitmap, not a JPEG.
-
Aug 9th, 2000, 05:46 PM
#5
transcendental analytic
I know that, i only said that there's code somewhere to save for it, btw i found it on my own harddisk, shall send it?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Aug 9th, 2000, 06:29 PM
#6
Thread Starter
Junior Member
could you send it to [email protected]? Thanks. Intel has a dll or something avalible to save jpgs, used to have it, is that what this is?
-
Aug 10th, 2000, 03:20 PM
#7
transcendental analytic
ACtually It's source, not sure where i got it, possibly planet source code.
sent.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|