]> git.imager.perl.org - imager.git/blob - TODO
generates a page that demonstrates various combining modes
[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
18 - clipping of FT1 output that hangs to the left of the CP, eg.
19 http://test.develop-help.com/logo.mhtml?text=ff&font=cgtr66w&size=120&bg=FFFFFF&fg=0000FF&border=2
20 - width problem in the above - a test font with similar overlaps could
21   be useful (maybe this can be built with pfaedit)
22
23 Enhanched internal structure:
24
25 MultiImage & metadata support:
26 - Figure what interface should be between C and perl?
27 - How to store data in the C interface for tags/metadata?
28   Support tiff's madness, i.e. tags and options.
29 - Error handling, make a general i_errstr object and arrange
30   such that each image has an i_errstr object to hold its
31   local errors?
32 - SEE design/represent.txt for proposed new structure and
33   interface design that takes these factors into account.
34 - define common i_* tags for specifying attribute common among images
35   like spatial resolution (implement for other image types, especially 
36   TIFF)
37
38 New Features:
39 - Add mng support.
40
41 - Transforms, interpolated multidimensional lookup tables.
42   Usefull for CMYK <-> RGB table lookup.
43
44 - Finish antialiased filled polygon function.
45
46 - freetype 2 support
47
48 - advanced font layout (spacing, kerning, alignment) (sky)
49
50 - font synthesis - synthesize a bold or slanted font from a normal font
51   (or even from an existing bold or slanted font)
52 - utf8 support for text output
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 Clean up:
63 - Make sure everything is doable with the OO interface
64   i_flood_fill() for example.
65
66 - Compile with memory debugging enabled and fix all leaks
67
68 - dynaload.c is strongly tied to perl
69
70 - Add mycalloc() and myrealloc() to the malloc() wrappers.
71
72 - should we overload <=> or cmp for Imager::Color objects?
73   too many worms, leave it out
74
75 - should the interlace option for reading raw images have 
76   symbolic names in the OO interface?
77
78 - improve consistency in the interfaces, both in trying to use named
79   parameters where possible but also in using consistent names, eg.
80   (tx, ty) vs (left, top) in rubthrough() vs paste().  Do we want a (simple)
81   standard for this (suggested names)?  Remember to preserve the old 
82   interface where possible.
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 - pcx and targa image formats
96
97 - aalib support
98
99 - when saving gifs handle the case where paletted images are being saved
100
101 - save other formats as paletted for paletted where that's supported
102
103 - read other format paletted images as paletted images
104
105
106 Documentation:
107 - Add to the documentation
108 - Write a tutorial?
109 - sample code and Imager/Samples.pod describing them
110 - Imager/Cookbook.pod
111 - modify the .pm files to put pod describing a function close to the 
112   function
113 - Write a guide to installing the helper libraries
114 - Go through the entire project and add comments in pod
115   so doco.perl can be used to read them.