|
-
Dec 19th, 2000, 01:23 PM
#1
Is ther anyone that are siting on a bit of code that are abel to save jpeg pictures? i have tried the jil10.dll but it dosn´t work god enugh it will be good if it´s only a .bas file!
-
Dec 19th, 2000, 01:34 PM
#2
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 19th, 2000, 01:44 PM
#3
Another?
This is the one i allready have ben using isn´t there any other way?
-
Dec 19th, 2000, 01:47 PM
#4
Monday Morning Lunatic
What is it that the Intel one doesn't do that you need?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 21st, 2000, 06:53 AM
#5
It's too much code just for saving an jpeg!
I was proging in qbasic at first and then i found something to at least load a jpeg so it can't be inpossible to make a .bas that saves it?
sorry for my very bad spelling
-
Dec 21st, 2000, 01:15 PM
#6
Monday Morning Lunatic
JPEG images are very hard to code - and the code used is very likely to be nowhere near as good as Intel's. Noone's going to care about it. But if it means that much to you, I'm sure it could be done. It's just that VB's memory handling skills aren't really up to it so you'd need lots of API calls for things that can be done in C with language statements.
http://www.planetsourcecode.com should have something there. If you look at http://www.sourceforge.net you might be lucky and get something in the VB section.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 21st, 2000, 06:46 PM
#7
Thanks
I think i found something anyway so thanks!
well isn't it possible to make a dll in C and call it from vb somthing like this
sucsess = savejpeg picture1.hDC, "filename"
where savejpeg is
Declare Function SaveJpeg Lib "savejpg.dll" (ByVal hdc As Long, FileName as string) As Integer
or something like it!
-
Dec 21st, 2000, 06:49 PM
#8
Monday Morning Lunatic
*scuse me while I bash head on table*
Sorry, I got mixed up with what you wanted. Yes, that's definitely possible, and probably very simple to do - I thought you wanted full VB code to create a JPEG
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 21st, 2000, 06:54 PM
#9
*lol*
well I just wanted to save the picture you know 
with out that mouch code as it is in the Intel dll
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
|