Save Pictures as "JPG" & not "BMP" !!!

Posted on 2006-04-30
Last Modified: 2013-11-19
i am making a project in VB that takes snapshots from a Camera & puts them in a Picture Box ...

then, i am using this code in order to save the picture on my PC :

SavePicture Picture1.Image, App.Path & "\ImageN" & X + 1 & ".BMP"

but the problem with me is that the pictures can only be saved as ".BMP" files, even though i replace the ".BMP" extension, from the end on the code, with the ".JPG" extension (the pictures' size remain the same) !!!

i need a way or a code, that let me save the pictures as ".JPG" (with as low as image size)

i am doing so, because the size of the pictures that are saved is too large for my Application (i need to transfer them through the Modem)

Need ur Comments as fast as possible ;)
Question by:tarik_bizri
    1 Comment
    LVL 10

    Accepted Solution


    I don't believe this is something that can be done natively from VB - the following link may help though: - it discusses the use of a free DLL and also has a sample application to review.



    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
    In this tutorial viewers will learn how to create blended and gradiated shapes in Illustrator using the blend tool Draw two shapes, one of them in a different color: Select both and create a blend by going to Object > Blend > Make: Blends can also b…
    In this Micro Tutorial viewers will learn the basic shortcuts and functions of Illustrator. The viewer will learn about the paintbrush tool, anchor points, font sizing, and more.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now