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