]> git.imager.perl.org - imager.git/blob - TODO
yep, we need these
[imager.git] / TODO
1                          *** TODO ***
2                         
3
4
5 Iolayer:
6 - Add scalar/mmap to iolayer
7 - Add close() code to iolayer
8 - Merge callback interface into iolayer
9 - Add interface for writing to all formats but tiff
10 - Add interface for reading for png (started), 
11   gif (merge with cb patch), ppm and raw
12 - Add new tests once all formats support io_layer
13 - Implment the maxread threshold (Indicates how far 
14   a library can read before it indicates that it's done).
15
16 BUGS:
17 - at smaller point sizes (14 pixels) the bottom of a g can be
18 lost (using the arial or ImUgly font)
19
20 Enhanched internal structure:
21
22 MultiImage & metadata support:
23 - Figure what interface should be between C and perl?
24 - How to store data in the C interface for tags/metadata?
25   Support tiff's madness, i.e. tags and options.
26 - Error handling, make a general i_errstr object and arrange
27   such that each image has an i_errstr object to hold its
28   local errors?
29 - SEE design/represent.txt for proposed new structure and
30   interface design that takes these factors into account.
31 - define common i_* tags for specifying attribute common among images
32   like spatial resolution (implement for other image types, especially 
33   TIFF)
34
35 New Features:
36 - Add mng support.
37
38 - Transforms, interpolated multidimensional lookup tables.
39   Usefull for CMYK <-> RGB table lookup.
40
41 - Finish antialiased filled polygon function.
42
43 - advanced font layout (spacing, kerning, alignment) (sky)
44
45 - ways to check if characters are present in a font, eg. checking if
46   ligatures are present
47
48 - font synthesis - synthesize a bold or slanted font from a normal font
49   (or even from an existing bold or slanted font)
50
51 - utf8 support for text output
52   (available for freetype2)
53
54 - image rotation, 3 ways of doing rotation:
55   - rotation by shearing, which produces makes lengths in the image larger,
56     but could be useful
57   (2 of the 3 have been done)
58
59 - read_multi() needs to handle other multi-image types, such as TIFF 
60   (probably the most common)
61
62 - compose channels - build a new image based on channels from several
63   images
64
65 - filled polygons
66
67 - arc outlines
68
69 Clean up:
70 - Make sure everything is doable with the OO interface
71   i_flood_fill() for example.
72
73 - Compile with memory debugging enabled and fix all leaks
74
75 - dynaload.c is strongly tied to perl
76
77 - Add mycalloc() and myrealloc() to the malloc() wrappers.
78
79 - should we overload <=> or cmp for Imager::Color objects?
80   too many worms, leave it out
81
82 - should the interlace option for reading raw images have 
83   symbolic names in the OO interface?
84
85 - improve consistency in the interfaces, both in trying to use named
86   parameters where possible but also in using consistent names, eg.
87   (tx, ty) vs (left, top) in rubthrough() vs paste().  Do we want a (simple)
88   standard for this (suggested names)?  Remember to preserve the old 
89   interface where possible.
90
91 Format specific issues:
92 - provide patches for libgif and libungif that fix their bugs
93   and give a useful extension interface.  Probe for the 
94   installation of the patches in Makefile.PL to let gif.c
95   know what features it can use.
96
97 - Add options for pnm, writer to save in any of the p1..P6
98   formats.  Even if the input has 1 channel, write 3 and such
99   cases.  Also allow ascii mode.  Need to be able to write 
100   pbm images which needs ties to the quantization code.
101
102 - pcx and targa image formats
103
104 - aalib support
105
106 - save other formats as paletted for paletted where that's supported
107
108 - read other format paletted images as paletted images
109
110 - have jpeg.c write 2 or 4 channel images as 1 or 3 channels respectively
111
112
113 Documentation:
114 - Add to the documentation
115 - Write a tutorial?
116 - sample code and Imager/Samples.pod describing them
117 - Imager/Cookbook.pod
118 - modify the .pm files to put pod describing a function close to the 
119   function
120 - Write a guide to installing the helper libraries
121 - Go through the entire project and add comments in pod
122   so doco.perl can be used to read them.