Results 1 to 30 of 30

Thread: Making Picture With VB

Hybrid View

  1. #1
    Frenzied Member ae_jester's Avatar
    Join Date
    Jun 2001
    Location
    Kitchener Ontario Canada Earth
    Posts
    1,545
    I've attached a Bmp2Jpeg DLL which I use in many projects to convert images between bmp and jpg. Works great!

    To use it:

    VB Code:
    1. Private Declare Function BmpToJpeg Lib "Bmp2Jpeg.dll" _
    2.     (ByVal bmpFileName As String, ByVal JpegFilename As String, _
    3.      ByVal CompressQuality As Integer) As Integer
    4.  
    5. 'To convert an image
    6. Call BmpToJpeg(strBmpFileName, strJpgFileName, 100) 'the last parameter is the picture quality (compression)

  2. #2
    Lively Member jkmcgrath's Avatar
    Join Date
    Dec 2004
    Posts
    79

    Re: Making Picture With VB

    Thanks! This is just what I needed and works like a champ

    Quote Originally Posted by ae_jester
    I've attached a Bmp2Jpeg DLL which I use in many projects to convert images between bmp and jpg. Works great!

    To use it:

    VB Code:
    1. Private Declare Function BmpToJpeg Lib "Bmp2Jpeg.dll" _
    2.     (ByVal bmpFileName As String, ByVal JpegFilename As String, _
    3.      ByVal CompressQuality As Integer) As Integer
    4.  
    5. 'To convert an image
    6. Call BmpToJpeg(strBmpFileName, strJpgFileName, 100) 'the last parameter is the picture quality (compression)
    Just an infant in VB years

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