CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2011

    Question JPEG compression algorithm to be stopped if set data size reached?


    Is it possible to manage the compression procedure in that way that the compression is done step by step, with increasing quality until certain data size is reached, then the compression should stop?

    I mean the size of the image depends on the content of the image. If the content of the image has got many different textures, then it has got larger size as the one with large smooth areas.

    However, I would like to have a data container with a fixed size, thus the compression should be stopped earlier of later with regard to the occupied data size.

    Could you advice me or tell me, which jpeg compression library supports it or some algorithm that can do it? Thanks.

  2. #2
    Join Date
    Jul 2005
    Louisville, KY

    Re: JPEG compression algorithm to be stopped if set data size reached?

    Please don't double post. Thanks.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.