TODO

Thu, 20 Mar 2003 07:06:35 +0000

author
eric
date
Thu, 20 Mar 2003 07:06:35 +0000
changeset 144
f2b7f70a965d
parent 140
3fe049d83e22
child 153
4a4a5b5fd6e5
permissions
-rw-r--r--

*** empty log message ***

     1 t2p TODO list
     2 $Id: TODO,v 1.18 2003/03/19 23:06:35 eric Exp $
     4 No particular order.
     6 -----------------------------------------------------------------------------
     8 t2p:
    10 * input handlers shouldn't use globals, use pointer to private structure
    11   instead.
    13 * multiple "-b" options on command line
    15 * page labels on command line
    17 * pages containing multiple images
    18     * spec language needs major changes
    19     * split process_page into multiple parts:
    20         * open page
    21         * add image
    22         * close page
    24 * overlay G4 images in different colors - use ImageMask and the fill color
    26 * crop
    28 * page sizes
    29     * metric
    30     * check page size, if off by too much, generate warning message and
    31       use actual scan size
    32     * multiple page sizes, pick the right one?
    34 * range checking
    35     * rotation (0, 90, 180, or 270)
    36     * page number style (D, r, R, a, A)
    38 * watermarking - in image?
    40 * flip, transpose
    42 * support PNG, BMP, and other input file formats
    44 * generate text, line art - option to embed fonts
    46 * bilevel thresholding of color and grey scale input
    48 * automatic separation using timify code from Tim Shoppa?
    50 * automatic image detection using DCT or FFT
    52 * downsampling
    54 -----------------------------------------------------------------------------
    56 bitblt routines:
    58 * finish optimized bitblt code
    60 * optimize inner loops in flip_h and flip_v with Duff's Device
    62 * check for endian problems
    63     * reading TIFF - don't bit-reverse on big-endian machines
    64     * rle table
    65     * g4_get_pixel()
    66     * g4_find_pixel()
    68 * g4_find_pixel should use native instructions where available
    69     * 386:  BSF  bit scan forward
    70     * PowerPC:  CLTLZ, CNTLZW  count leasing zeros  (CNTLZD 64-bit)
    71     * MC68020:  BFFFO  bit field find first one
    72     * Alpha 21264A:  CTTZ  count trailing zeros
    74 -----------------------------------------------------------------------------
    76 PDF routines:
    78 [Page numbers refer to _Portable Document Format Reference Manual_ by
    79 Adobe Systems Incorporated, Addison-Wesley, 1993.]
    81 * ModDate and CreationDate keys in Info dict
    83 * ID key in trailer dict
    85 * proper output of real numbers - variable precision, no exponent
    87 * bookmarks (outline) should allow alternate destination specs, currently
    88   only /Fit is supported
    90 * balance pages tree - currently a degenerate single-level tree, but the
    91   PDF spec recommends max. of 6 children per parent
    93 * thumbnails
    95 * PDF Page rotate attribute (p. 53)?
    97 * memory management - need to reference count all structures and free
    98   them as appropriate - not necessary for t2p program
   100 * when an object is written to the file, set a flag to indicate that
   101   it is now immutable
   103 * name trees, number trees - when finalize is called, set immutable flag
   104   and allow no further changes
   106 * buffered streams (vs. current callback mechanism for unbuffered streams)
   108 * add support for streams with multiple filters
   110 * linearize ("optimize")