Results 1 to 9 of 9

Thread: Save Jpeg file?

  1. #1
    Guest

    Exclamation

    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!

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  3. #3
    Guest

    Unhappy Another?

    This is the one i allready have ben using isn´t there any other way?

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  5. #5
    Guest

    Smile

    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

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  7. #7
    Guest

    Lightbulb 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!

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    *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

  9. #9
    Guest

    Talking *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
  •  



Click Here to Expand Forum to Full Width