CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2002
    Location
    Ukraine
    Posts
    332

    How to compress image into jpeg ?

    How to compress image into jpeg ?
    And how to decompress it ?
    Is there any library I can download ?
    http://mav.h1.ru -- best computer internet cafe management program.

  2. #2
    Join Date
    Aug 2001
    Location
    Sydney, Australia
    Posts
    813
    Theres a few different ways of compressing an image into a JPEG format. Have a look at IJL (Intels JPEG Library) or check out the Joint Photography Experts Group homepage.

    Just so you know:
    If you compress an image to JPEG, there is NO recovery back to BMP. Whats lost during the compression is lost. Its got to do with the way they subsample in their compress algorithms.

    Microsoft LVP - Least Valuable Professional

    Please rate this post... Pleeeeeeaaassee!!!

  3. #3

    image

    Try use imageviewer cp activex control that can convert file format!

    http://www.viscomsoft.com/imageviewer.htm

  4. #4
    Join Date
    Feb 2002
    Location
    Ukraine
    Posts
    332
    http://mav.h1.ru -- best computer internet cafe management program.

  5. #5
    Join Date
    Aug 2001
    Location
    Sydney, Australia
    Posts
    813
    As far as I'm concerned the facts are facts, you convert an image to jpg and then back to bmp, you end up with a crappy looking bmp file.

    You have been warned.
    Microsoft LVP - Least Valuable Professional

    Please rate this post... Pleeeeeeaaassee!!!

  6. #6
    Join Date
    May 2024
    Posts
    2

    Re: How to compress image into jpeg ?

    For compressing images into JPEG, libraries like IJL work well, but remember, quality is lost during compression, so there is effective solution without coding, you could try an online JPEG compressor tool.

  7. #7
    Join Date
    Sep 2024
    Posts
    1

    Re: How to compress image into jpeg ?

    To compress an image into JPEG and decompress it, you can use various tools and libraries. For Python, Pillow is a great option that allows you to easily compress images by adjusting the quality. For web-based solutions, tools like TinyPNG or JPEG-Optimizer are perfect for quick, hassle-free compression. These methods make it simple to compress or decompress images without needing complex setups.


    **Links removed by Site Administrator so it doesn't look like you're spamming us. Please don't post them again.**

  8. #8
    Join Date
    May 2024
    Posts
    2

    Re: How to compress image into jpeg ?

    Here is the online tool link https://jpegcompressor.com/

  9. #9
    Join Date
    Jan 2013
    Location
    Largo, FL.
    Posts
    359

    Re: How to compress image into jpeg ?

    This thread was started 21 YEARS ago.

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

Featured