3 Release Plans (subject to change)
6 brown-bag bugs may add intermediate releases. The dates are goals,
10 - resolve fills test failure under 5.8.6/darwin
11 http://www.nntp.perl.org/group/perl.cpan.testers/202802
12 add tests to check if the same problem occurs with other ?: operators
13 - stop tga_header_verify() from spewing junk to stdout (done)
14 - fix i_setcolors_p bug (done)
17 - audit rgb.c and add tests
18 - add META.yml (bypass EU::MM's limited mechanism) (done)
19 - implement i_incomplete for bmp files
20 - check if freetype 2 is faster/slower than freetype 1 with Imager's glyph
21 caching. If FT1 is faster, add caching as a TODO for FT2.
22 - add XS for i_tags_get_string() and test it. It has an apparent problem
23 in C<< sprintf(value, "%d", entry->data); >> since data is a pointer
25 - test and fix problem with fallback value for
26 Imager::Font::BBox->advance_width. (done)
27 - check handling of string() method align parameter. (done, fixed)
28 - i_tt_bbox_inst in font.c uses variable i without ever setting it. (fixed)
29 - add sample CGI that handles an uploaded image (done)
30 - examples for fountain filter in Imager::Filters (done)
31 - allow Imager::Fountain to take color descriptions (eg. blue, FF000)
32 instead of color objects for c0 and c1 (done)
33 - support newer GIMP gradient files with the Name line (done)
34 - provide access to right-side bearing information from the bounding box
35 function (done for all drivers)
36 - capture TIFF read warnings (i_warnings tag?) (done)
37 - Imager::Matrix2d rotate method only applies offset if both x and y
38 are non-zero, it should do it if either is non-zero (done)
39 - add Imager::Cookbook with at least 5 recipes (done)
40 - store floating point tags in an appropriate precision (done)
41 - allow image creation to fail on malloc() failure for the image data
42 rather than aborting. The current behaviour could be a denial of
43 service attack. This has limited utility because of the way memory
44 over commitment works on Linux (done but reverted)
45 - eliminate unused variable warning (especially the RETVAL ones in Imager.xs)
47 - handle probing for libraries better (use pkg-config or I<library>-config
48 where possible (freetype2 and libpng)) (done)
49 - add concept index to Imager.pm pod (done, still working it)
50 - replace testimg/penguin-base.ppm with a smaller image (done)
51 - add a sample CGI HTML and image generation scripts that work together,
52 with appropriate security management (done)
55 - allow limits to be set on the size of an image read from a file. This is
56 to prevent an attacker supplying huge images that consume all of
57 memory causing a denial of service attack.
58 - add Imager::Tutorial (see Tk::UserGuide for a structure)
59 don't cover installation - belongs in README or INSTALL
60 it doesn't need to cover everything - read/write/create/simple drawing
61 and simple text - other stuff belongs in the cookbook or in sample code
62 - add 5 more recipes to Imager::Cookbook
63 - implement gsamp()/gsampf()/plin() etc methods for those low level image
64 interfaces which don't yet have methods.
65 - implement i_incomplete for png and gif files.
66 - documentation audit, check:
67 - every method has at least one example, but if the method is complex
68 (like transform2, to_paletted, string() for example) it should include
70 - check each method description to ensure it's reasonably clear.
71 - check POD sections (SEE ALSO in particular)
72 - rework handling of antialiasing against transparent images
77 Some of what's listed below has been implemented.
79 - should i_incomplete be optional? ie. reading a short image results in
80 an error unless the user requests incomplete images.
83 - Add scalar/mmap to iolayer
84 - Add close() code to iolayer for fakeseek sources.
85 - Merge callback interface into iolayer
87 - Implment the maxread threshold (Indicates how much can
88 be read from a source before it stops reading from its
89 underlying source. For making sure only the relevant
90 data is read from a socket for example.
92 Enhanched internal structure:
94 MultiImage & metadata support:
95 - Figure what interface should be between C and perl?
96 - How to store data in the C interface for tags/metadata?
97 Support tiff's madness, i.e. tags and options.
98 - Error handling, make a general i_errstr object and arrange
99 such that each image has an i_errstr object to hold its
101 - SEE design/represent.txt for proposed new structure and
102 interface design that takes these factors into account.
103 - define common i_* tags for specifying attribute common among images
104 like spatial resolution (implement for other image types, especially
105 TIFF) (Spatial resolution is supported for all types that support
106 it - are there any other common properties we can add?)
107 - implement the i_incomplete tag for other formats
110 - Add mng support, pcx and aalib support.
111 - Windows icon files (.ico)
112 - ILBM (Amiga) images
113 - photoshop files (I think I've seen docs)
116 - WMF (extract bitmap data on read)
117 - gzip or bzip2 compressed raw
118 - postscript for output
119 - PAM file support (man pam in recent PNM tools)
121 - Transforms, interpolated multidimensional lookup tables.
122 Usefull for CMYK <-> RGB table lookup.
124 - advanced font layout (spacing, kerning, alignment) (Artur?)
126 - ways to check if characters are present in a font, eg. checking if
127 ligatures are present (done for FreeType2)
129 - font synthesis - synthesize a bold or slanted font from a normal font
130 (or even from an existing bold or slanted font)
132 - utf8 support for text output
133 (available for FT1, freetype2, should be easy for Win32)
135 - easy interfaces for text output:
136 - align text around point, including:
137 - left, center, right horizontal alignment
138 - top, center, baseline, bottom alignment
139 - choose whether to base alignment upon character cells or font
140 metrics to avoid spacing problems between lines
141 - fill a box from text, with newline handling
142 - an option to just return the information that would be used to
143 output the text, so it can be used for sizing calculations
144 - how much text fit in the box/how much space is left in the box
145 - fill a box with rich text (size and font changes)
147 - wrapping around boxes/images
150 - tools to get more information about fonts/characters:
151 - name of font "Arial Bold Italic" vs "arialbi.ttf"
152 - ABC widths for characters (currently the only way to get the C width
153 for a character is to get the width with a following space and without
157 - encodings for text output (maybe using the Encode module to work
160 - image rotation, 3 ways of doing rotation:
161 - rotation by shearing, which produces makes lengths in the image larger,
163 (2 of the 3 have been done)
165 - read_multi() needs to handle other multi-image types,
166 (handles TIFF and GIF)
168 - write_multi() to save other multi-image types, (handles TIFF and GIF)
169 - pnm binary formats support multiple images per file
171 - compose channels - build a new image based on channels from several
176 - complex lines/curves:
178 - dotted/dashed lines
180 - end-point controls (butt-end, square-end, round-end, pointy, arrows)
181 - brush-lines (as with the Gimp, or Photoshop)
182 - more complex with multiple strokes and various randomness as with
183 Fractal Design Painter (or later versions of Corel Photo Paint)
184 - complex line shapes:
186 - general curves (cubic or bezier, whichever is more general)
187 - easy access to general curves:
188 - points to make a nice curve from
189 - various circular curves (centre, radii, start/end angles,
191 - Complex thick lines are probably more useful than brush-lines for
192 the things I expect Imager to be used for.
193 - http://www.develop-help.com/imager/strokes.png (.jpg for smaller version)
195 - have Imager::Color{::Float}? use Graphics::ColorNames if present.
198 - Make sure everything is doable with the OO interface
199 i_flood_fill() for example.
200 - include low-level functions like gsamp() and so on
202 - Compile with memory debugging enabled and fix all leaks
204 - Add mycalloc() memory allocation wrappers.
206 - should we overload <=> or cmp for Imager::Color objects?
207 too many worms, leave it out
209 - should the interlace option for reading raw images have
210 symbolic names in the OO interface?
212 - improve consistency in the interfaces, both in trying to use named
213 parameters where possible but also in using consistent names, eg.
214 (tx, ty) vs (left, top) in rubthrough() vs paste(). Do we want a (simple)
215 standard for this (suggested names)? Remember to preserve the old
216 interface where possible.
218 - try to clean up the inconsistencies between font types:
219 - utf8 (even if we just treat characters over 0xFF as missing for T1)
220 (done for FT2, FT1, T1)
221 - transformations (done for FT2)
222 - has_char() method (done for FT2, FT1, T1)
224 Format specific issues:
225 - provide patches for libgif and libungif that fix their bugs
226 and give a useful extension interface. Probe for the
227 installation of the patches in Makefile.PL to let gif.c
228 know what features it can use.
230 - Add options for pnm writer to save in any of the p1..P6
231 formats. Even if the input has 1 channel, write 3 and such
232 cases. Also allow ascii mode. Need to be able to write
233 pbm images which needs ties to the quantization code.
235 - save paletted images as paletted where that's supported. Done
236 for gif/tga/bmp/tiff. Not done for png yet.
238 - read other format paletted images as paletted images. This has
239 been done for gif/tga/bmp/tiff formats but not for png.
241 - read/write 16-bit/sample images as such for tiff
243 - read more metadata from images, esp tiff tags, EXIF format information
246 - handle 16-bit/sample pgm/ppm files
248 - "jpeg lossless rotation" - directly manipulates the JPEG
249 representation to rotate, scale or in some limited cases, crop an
253 - Add to the documentation
255 - sample code and Imager/Samples.pod describing them
256 - Imager/Cookbook.pod
257 - Write a guide to installing the helper libraries
258 - Go through the entire project and add comments in pod
259 so doco.perl can be used to read them.
260 - see the IRC log in design/doclayout.txt
265 - use prompt() (from ExtUtils::MakeMaker) for questions in Makefile.PL
266 - use the library's mechanism's to find the library if needed, for
267 example, freetype-config for FT2
268 - the freetype2 library is built as "freetype.lib" on Win32 and needs
269 to be renamed to be found by the configuration process and included
270 with -lfreetype. Try to work around that.
271 - freetype2 and freetype1 tend to be installed in /usr/include/freetype2
272 and /usr/include/freetype directories, or similarly named (somedir/freetype
273 for example), instead of putting these directly into the search path
274 search for the freetype{2}?/someheader and then add the subdirectory if
275 we find the file in that directory.
276 - switch to Test::More
277 - change headers to use more unique re-include protection macros
279 Old release checklists
280 ----------------------
282 0.44: (december 2004)
283 - set i_format for every file type on read and test for it:
288 - rgb - no read function anyway
293 - check each file reader for possible integer overflows
301 - check bmp code uses image data offset correctly - done
302 - check quant code for integer overflows - done
303 - check for old URLs (umich and imager.perl.org/~addi/...) - done