]> git.imager.perl.org - imager.git/blob - TODO
based on discussion with lathos on IRC
[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
17 Enhanched internal structure:
18
19 MultiImage & metadata support:
20 - Figure what interface should be between C and perl?
21 - How to store data in the C interface for tags/metadata?
22   Support tiff's madness, i.e. tags and options.
23 - Error handling, make a general i_errstr object and arrange
24   such that each image has an i_errstr object to hold its
25   local errors?
26 - SEE design/represent.txt for proposed new structure and
27   interface design that takes these factors into account.
28 - define common i_* tags for specifying attribute common among images
29   like spatial resolution (implement for other image types, especially 
30   TIFF)
31
32 New Features:
33 - Add mng support.
34
35 - Transforms, interpolated multidimensional lookup tables.
36   Usefull for CMYK <-> RGB table lookup.
37
38 - Finish antialiased filled polygon function.
39
40 - freetype 2 support
41
42 - advanced font layout (spacing, kerning, alignment) (sky)
43
44 - font synthesis - synthesize a bold or slanted font from a normal font
45   (or even from an existing bold or slanted font)
46 - utf8 support for text output
47
48 - image rotation, 3 ways of doing rotation:
49   - rotation by shearing, which produces makes lengths in the image larger,
50     but could be useful
51   (2 of the 3 have been done)
52
53 - read_multi() needs to handle other multi-image types, such as TIFF 
54   (probably the most common)
55
56 - hatched fills
57
58 Clean up:
59 - Make sure everything is doable with the OO interface
60   i_flood_fill() for example.
61 - Split the other classes into seperate files
62   Imager::Font::TT, Imager::Font::T1, currently 
63   an if statement is used to choose what code to
64   run.
65 - Compile with memory debugging enabled and fix all leaks
66
67 - dynaload.c is strongly tied to perl
68
69 - Add mycalloc() and myrealloc() to the malloc() wrappers.
70
71 - should we overload <=> or cmp for Imager::Color objects?
72   too many worms, leave it out
73
74 - should the interlace option for reading raw images have 
75   symbolic names in the OO interface?
76
77 - improve consistency in the interfaces, both in trying to use named
78   parameters where possible but also in using consistent names, eg.
79   (tx, ty) vs (left, top) in rubthrough() vs paste().  Do we want a (simple)
80   standard for this (suggested names)?  Remember to preserve the old 
81   interface where possible.
82
83
84 Format specific issues:
85 - provide patches for libgif and libungif that fix their bugs
86   and give a useful extension interface.  Probe for the 
87   installation of the patches in Makefile.PL to let gif.c
88   know what features it can use.
89
90 - Add options for pnm, writer to save in any of the p1..P6
91   formats.  Even if the input has 1 channel, write 3 and such
92   cases.  Also allow ascii mode.  Need to be able to write 
93   pbm images which needs ties to the quantization code.
94
95 - bmp, pcx and targa image formats
96
97 - aalib support
98
99 Documentation:
100 - Add to the documentation
101 - Write a tutorial?
102 - sample code and Imager/Samples.pod describing them
103 - Imager/Cookbook.pod
104 - modify the .pm files to put pod describing a function close to the 
105   function
106 - Write a guide to installing the helper libraries
107 - Go through the entire project and add comments in pod
108   so doco.perl can be used to read them.