]> git.imager.perl.org - imager.git/blob - TODO
Made TODO into a seperate file and removed it from the Changes file.
[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
29 New Features:
30 - Transforms, interpolated multidimensional lookup tables.
31   Usefull for CMYK <-> RGB table lookup.
32
33 - Finish antialiased filled polygon function.
34
35
36 Clean up:
37 - Make sure everything is doable with the OO interface
38   i_flood_fill() f. example.
39 - Split the other classes into seperate files
40   Imager::Font::TT, Imager::Font::T1, currently 
41   an if statement is used to choose what code to
42   run.
43 - Compile with memory debugging enabled and fix all leaks
44
45 - dynaload.c is strongly tied to perl
46
47 - Add mycalloc() and myrealloc() to the malloc() wrappers.
48
49 - should we overload <=> or cmp for Imager::Color objects?
50   too many worms, leave it out
51
52 - should the interlace option for reading raw images have 
53   symbolic names in the OO interface?
54
55
56
57 Format specific issues:
58 - should i_readgif returned colormap be an arrayref of 
59   Imager::Color objects?  Note that this will break 
60   compatibility with previous releases.
61
62 - if gif_delays is a number instead of an arrayref, use that 
63   number for each frame
64
65 - provide patches for libgif and libungif that fix their bugs
66   and give a useful extension interface.  Probe for the 
67   installation of the patches in Makefile.PL to let gif.c
68   know what features it can use.
69
70 - Add options for pnm, writer to save in any of the p1..P6
71   formats.  Even if the input has 1 channel, write 3 and such
72   cases.  Also allow ascii mode.  Need to be able to write 
73   pbm images which needs ties to the quantization code.
74
75
76 Documentation:
77 - Add to the documentation
78 - Write a tutorial?
79 - Write a guide to installing the helper libraries
80 - Go through the entire project and add comments in pod
81   so doco.perl can be used to read them.