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