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 ***

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