~ubuntu-branches/ubuntu/saucy/libjpeg-turbo/saucy-security

« back to all changes in this revision

Viewing changes to libjpeg.txt

  • Committer: Package Import Robot
  • Author(s): Fathi Boudra
  • Date: 2013-07-28 16:52:51 UTC
  • mfrom: (1.1.3) (9.1.1 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130728165251-7vg6wszhm941kdej
Tags: 1.3.0-0ubuntu1
* New upstream release.
  - drop debian/patches/branch-updates.diff
  - refresh tjunittest.patch (now renamed to install-tjunittest.patch)
* Update debian/control:
  - add myself to Uploaders.
* Update debian/copyright:
  - add RSA Data Security copyright (md5).
* Update debian/libturbojpeg.install:
  - install libturbojpeg.so.0* (needed by tjunittest and tjbench).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
USING THE IJG JPEG LIBRARY
2
2
 
3
 
Copyright (C) 1994-2010, Thomas G. Lane, Guido Vollbeding, D. R. Commander.
4
 
This file is part of the Independent JPEG Group's software.
 
3
This file was part of the Independent JPEG Group's software:
 
4
Copyright (C) 1994-2011, Thomas G. Lane, Guido Vollbeding.
 
5
Modifications:
 
6
Copyright (C) 2010, D. R. Commander.
5
7
For conditions of distribution and use, see the accompanying README file.
6
8
 
7
9
 
1019
1021
given by the following fields.  These are computed from the input image
1020
1022
dimensions and the compression parameters by jpeg_start_compress().  You can
1021
1023
also call jpeg_calc_jpeg_dimensions() to obtain the values that will result
1022
 
from the current parameter settings.
 
1024
from the current parameter settings.  This can be useful if you are trying
 
1025
to pick a scaling ratio that will get close to a desired target size.
1023
1026
 
1024
1027
JDIMENSION jpeg_width           Actual dimensions of output image.
1025
1028
JDIMENSION jpeg_height
1113
1116
unsigned int scale_num, scale_denom
1114
1117
        Scale the image by the fraction scale_num/scale_denom.  Default is
1115
1118
        1/1, or no scaling.  Currently, the only supported scaling ratios
1116
 
        are 1/1, 1/2, 1/4, and 1/8.  (The library design allows for arbitrary
 
1119
        are M/8 with all M from 1 to 16, or any reduced fraction thereof (such
 
1120
        as 1/2, 3/4, etc.)  (The library design allows for arbitrary
1117
1121
        scaling ratios but this is not likely to be implemented any time soon.)
1118
1122
        Smaller scaling ratios permit significantly faster decoding since
1119
1123
        fewer pixels need be processed and a simpler IDCT method can be used.
1275
1279
selects a default output color space based on (its guess of) jpeg_color_space;
1276
1280
set out_color_space to override this.  Again, you must select a supported
1277
1281
transformation.  jdcolor.c currently supports
1278
 
        YCbCr => GRAYSCALE
1279
1282
        YCbCr => RGB
 
1283
        YCbCr => GRAYSCALE
 
1284
        RGB => GRAYSCALE
1280
1285
        GRAYSCALE => RGB
1281
1286
        YCCK => CMYK
1282
1287
as well as the null transforms.  (Since GRAYSCALE=>RGB is provided, an