PHP Developer's Network : Network Member Forums

Class: JPEG Reducer



  Search   All class groups   Latest entries   Top 10 charts   Newsletter   Blog   Forums   Help FAQ  
  Login   Register  
Recommend this page to a friend! Trackback URL: http://www.phpclasses.org/trackback/browse/package/1980.html
      Classes of Huda M Elmatsani  > 
JPEG Reducer
 >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

  • Picture of Huda M Elmatsani
    Name: Huda M Elmatsani <e-mail contact>
    Published packages: 14
    Country: Indonesia Indonesia - PHP jobs in Indonesia
    Home page: http://blog.lentera.web.id/
    Age: 40
    All time rank: 20
    Week rank: 30

    Browse this author's classes

  • Innovation Award:

  • PHP Programming Innovation award winner
    November 2004
    Winner
    Sometimes it is necessary to limit the size occupied by the files of image archives to prevent that they take too much disk space.

    The size of JPEG image files can be reduced by using a lower quality factor when saving to a file but it is not easy to determine what is the smallest quality factor reduction that guarantees that an image file will not exceed a given limit.

    This class provides an approximate solution based on a few tests using different quality factors and then using interpolation to reach a reduction factor close to the ideal value that can be used to keep the file size near the limit.

    Manuel Lemos
  • Groups:

  • Group folder image
    Colors, images, charts and picture formats
    View top rated classes
  • Detailed description:

  • To reduce the size of JPEG image file, usually the image is saved with lower quality compression factor.

    However, using this method it is not guaranteed that the size of the resulting image file will be smaller than a given size limit.

    JPEG Reducer is a class that solves this problem by trying different quality to determine the ideal compression ratio to reduce image to the target limit size just by specifying that limit value in class variable.

    This class can be used in public photo gallery to make sure all images are have acceptable size.
  • User ratings:

  • Ratings
    Utility
    Consistency
    Documentation
    Examples
    Tests
    Videos
    Overall
    Rank
    All time:
    Sufficient (75.0%)
    Good (87.5%)
    -
    Good (82.5%)
    -
    -
    Not sure (54.5%)
    898
    Month:
    Not yet rated by the users
  • Applications that use this class:

  • No application links were specified for this class.
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Files:

  • File Role Description
    Plain text file class.jpegreducer.php Class
    class reduce jpeg filesize
    Plain text file class.jpegxreducer.php Class
    variant
    Plain text file test.jpegreducer.php Example
    example
    Plain text file test.jpegxreducer.php Example
    example: one line call
    Download all files: jpegreducer.tar.gz jpegreducer.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site   Site map   Statistics   Site tips   Privacy policy   Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products