Added rgb.c to MANIFEST
[imager.git] / TODO
CommitLineData
b921d414 1 *** TODO ***
b921d414
AMH
2
3
4Iolayer:
5- Add scalar/mmap to iolayer
a106216b 6- Add close() code to iolayer for fakeseek sources.
b921d414 7- Merge callback interface into iolayer
a106216b
AMH
8- Add iolayer reading/writing for gif
9- and raw
10- Implment the maxread threshold (Indicates how much can
11 be read from a source before it stops reading from its
12 underlying source. For making sure only the relevant
13 data is read from a socket for example.
14
b921d414 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:
a106216b 32- Add mng support, pcx and aalib support.
13db6021
TC
33 - Windows icon files (.ico)
34 - ILBM (Amiga) images
35 - photoshop files (I think I've seen docs)
36 - XBM
37 - FITS
38 - WMF (extract bitmap data on read)
39 - gzip or bzip2 compressed raw
5f5fe73e 40
b921d414
AMH
41- Transforms, interpolated multidimensional lookup tables.
42 Usefull for CMYK <-> RGB table lookup.
43
44- Finish antialiased filled polygon function.
45
a106216b 46- advanced font layout (spacing, kerning, alignment) (Artur?)
faa9b3e7 47
bf9dd17c
TC
48- ways to check if characters are present in a font, eg. checking if
49 ligatures are present
50
faa9b3e7
TC
51- font synthesis - synthesize a bold or slanted font from a normal font
52 (or even from an existing bold or slanted font)
bf9dd17c 53
faa9b3e7 54- utf8 support for text output
bf9dd17c 55 (available for freetype2)
faa9b3e7
TC
56
57- image rotation, 3 ways of doing rotation:
faa9b3e7
TC
58 - rotation by shearing, which produces makes lengths in the image larger,
59 but could be useful
a010a7d3 60 (2 of the 3 have been done)
faa9b3e7
TC
61
62- read_multi() needs to handle other multi-image types, such as TIFF
63 (probably the most common)
b921d414 64
f62b2d84
TC
65- write_multi() to save other multi-image types, especially TIFF
66
362e7486
TC
67- compose channels - build a new image based on channels from several
68 images
69
da77e827
TC
70- filled polygons
71
72- arc outlines
73
b921d414
AMH
74Clean up:
75- Make sure everything is doable with the OO interface
5f5fe73e 76 i_flood_fill() for example.
f1ac5027 77
b921d414
AMH
78- Compile with memory debugging enabled and fix all leaks
79
80- dynaload.c is strongly tied to perl
81
a106216b 82- Add mycalloc() memory allocation wrappers.
b921d414
AMH
83
84- should we overload <=> or cmp for Imager::Color objects?
85 too many worms, leave it out
86
87- should the interlace option for reading raw images have
88 symbolic names in the OO interface?
89
f2bc9b80
TC
90- improve consistency in the interfaces, both in trying to use named
91 parameters where possible but also in using consistent names, eg.
92 (tx, ty) vs (left, top) in rubthrough() vs paste(). Do we want a (simple)
93 standard for this (suggested names)? Remember to preserve the old
94 interface where possible.
b921d414 95
b921d414 96Format specific issues:
b921d414
AMH
97- provide patches for libgif and libungif that fix their bugs
98 and give a useful extension interface. Probe for the
99 installation of the patches in Makefile.PL to let gif.c
100 know what features it can use.
101
a106216b 102- Add options for pnm writer to save in any of the p1..P6
b921d414
AMH
103 formats. Even if the input has 1 channel, write 3 and such
104 cases. Also allow ascii mode. Need to be able to write
105 pbm images which needs ties to the quantization code.
106
a106216b 107- save paletted images as paletted where that's supported. Done
f62b2d84 108 for gif/tga/bmp/tiff. Not done for png yet.
f873cb01 109
a106216b 110- read other format paletted images as paletted images. This has
f62b2d84
TC
111 been done for gif/tga/bmp/tiff formats but not for png.
112
113- read/write 16-bit/sample images as such for tiff
27d9683e 114
b921d414
AMH
115Documentation:
116- Add to the documentation
117- Write a tutorial?
faa9b3e7
TC
118- sample code and Imager/Samples.pod describing them
119- Imager/Cookbook.pod
120- modify the .pm files to put pod describing a function close to the
121 function
b921d414
AMH
122- Write a guide to installing the helper libraries
123- Go through the entire project and add comments in pod
124 so doco.perl can be used to read them.