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