3 Release Plans (subject to change)
6 brown-bag bugs may add intermediate releases. The dates are goals,
11 checking testing of new ft2 rendering (done)
13 possibly: use renderer on other fonts
15 check testing of new ppm input (done)
17 check testing of new ppm output (done)
19 check lbr's font output issue
21 tests for monochrome makemap (done)
23 correct handling of old Data::Dumper (#24391) (done)
25 fix unsharpmask documentation (#25531)
27 work around compiler bug on OS X (#25561)
31 OO interface for i_plin/i_glin (done)
33 remove gif query from makefile.pl (done)
35 fallback for read/write_multi to read/write
37 pnmscale based alternative scale method (done)
39 rubthrough 4 on 4 (done)
41 replace dummy test script in dynfilt with a real one (done)
45 skip t82inline.t tests if directory has spaces in name
47 integrate pod coverage tests
53 note lack of IRC support
59 scale() fixes/docs, Imager::Transformations going over. (done)
61 do some more malloc checks (done)
63 scan $Config{libspath} for directories if we can. (done)
67 - more documentation (and corresponding code cleanup)
69 - external C API access
71 - hooks for file reading/writing
73 - hooks for font types
79 - filter pre-processor for handling both image access methods
81 - move existing loadable filters into separate sub-directories
85 - maybe Imager::Tk::Photo
88 0.46: (September 2005)
90 - check remaining memory allocation calls for integer overflows
91 http://rt.cpan.org/NoAuth/Bug.html?id=8213
92 - check *alloc() calls
93 - check llist_push() calls
95 - fix Imager::Color warning when $ENV{HOME} isn't set from
96 _get_gimp_color() (done)
97 http://rt.cpan.org/NoAuth/Bug.html?id=13143
99 - module version numbers (done)
100 http://rt.cpan.org/NoAuth/Bug.html?id=13047
102 - allow limits to be set on the size of an image read from a file. This is
103 to prevent an attacker supplying huge images that consume all of
104 memory causing a denial of service attack. (done)
106 - implement gsamp()/gsampf()/plin() etc methods for those low level image
107 interfaces which don't yet have methods. (done)
112 - add Imager::Tutorial (see Tk::UserGuide for a structure) (done)
113 don't cover installation - belongs in README or INSTALL
114 it doesn't need to cover everything - read/write/create/simple drawing
115 and simple text - other stuff belongs in the cookbook or in sample code
117 - rename lib/Imager/Cookbook.pm to lib/Imager/Cookbook.pod (done)
119 - add 5 more recipes to Imager::Cookbook
121 - implement i_incomplete for png and gif files.
123 - documentation audit, check:
124 - every method has at least one example, but if the method is complex
125 (like transform2, to_paletted, string() for example) it should include
127 - check each method description to ensure it's reasonably clear.
128 - check POD sections (SEE ALSO in particular)
129 - multiple examples for writing GIF images.
130 - name arguments and use those names in the documentation
131 http://nntp.perl.org/group/perl.perl5.porters/102434
132 (#1521, #5608, #8231, #11429, #13058(done))
134 - have $img->read() act like ($img) = Imager->read_multi() on GIFs (done)
136 - figure out what the nearest_color filter does, and document it
138 - remove image.h dependency on t1lib.h (done)
140 - make sure dynfilt/Makefile.PL gets the same includes that
145 - rework handling of antialiasing and other transparency against
151 - anything that uses combine (fills in particular)
152 - image scaling? and matrix_transform()'s interpolation
153 http://rt.cpan.org/NoAuth/Bug.html?id=11972
157 - fill out handling of large sample (16/double per sample) images
176 Some of what's listed below has been implemented.
178 - should i_incomplete be optional? ie. reading a short image results in
179 an error unless the user requests incomplete images.
182 - Add scalar/mmap to iolayer
183 - Add close() code to iolayer for fakeseek sources.
184 - Merge callback interface into iolayer
186 - Implment the maxread threshold (Indicates how much can
187 be read from a source before it stops reading from its
188 underlying source. For making sure only the relevant
189 data is read from a socket for example.
191 Enhanched internal structure:
193 MultiImage & metadata support:
194 - Figure what interface should be between C and perl?
195 - How to store data in the C interface for tags/metadata?
196 Support tiff's madness, i.e. tags and options.
197 - Error handling, make a general i_errstr object and arrange
198 such that each image has an i_errstr object to hold its
200 - SEE design/represent.txt for proposed new structure and
201 interface design that takes these factors into account.
202 - define common i_* tags for specifying attribute common among images
203 like spatial resolution (implement for other image types, especially
204 TIFF) (Spatial resolution is supported for all types that support
205 it - are there any other common properties we can add?)
206 - implement the i_incomplete tag for other formats
209 - Add mng support, pcx and aalib support.
210 - Windows icon files (.ico) (done)
211 - ILBM (Amiga) images
212 - photoshop files (I think I've seen docs)
215 - WMF (extract bitmap data on read)
216 - gzip or bzip2 compressed raw
217 - postscript for output
218 - PAM file support (man pam in recent PNM tools)
220 - Transforms, interpolated multidimensional lookup tables.
221 Usefull for CMYK <-> RGB table lookup.
223 - advanced font layout (spacing, kerning, alignment) (Artur?)
225 - ways to check if characters are present in a font, eg. checking if
226 ligatures are present (done for FreeType2)
228 - font synthesis - synthesize a bold or slanted font from a normal font
229 (or even from an existing bold or slanted font)
231 - utf8 support for text output
232 (available for FT1, freetype2, T1, Win32)
234 - easy interfaces for text output:
235 - align text around point, including:
236 - left, center, right horizontal alignment
237 - top, center, baseline, bottom alignment
238 - choose whether to base alignment upon character cells or font
239 metrics to avoid spacing problems between lines
240 - fill a box from text, with newline handling
241 - an option to just return the information that would be used to
242 output the text, so it can be used for sizing calculations
243 - how much text fit in the box/how much space is left in the box
244 - fill a box with rich text (size and font changes)
246 - wrapping around boxes/images
249 - tools to get more information about fonts/characters:
250 - name of font "Arial Bold Italic" vs "arialbi.ttf"
251 - ABC widths for characters (currently the only way to get the C width
252 for a character is to get the width with a following space and without
256 - encodings for text output (maybe using the Encode module to work
259 - image rotation, 3 ways of doing rotation:
260 - rotation by shearing, which produces makes lengths in the image larger,
262 (2 of the 3 have been done)
264 - read_multi() needs to handle other multi-image types,
265 (handles TIFF and GIF)
267 - write_multi() to save other multi-image types, (handles TIFF and GIF)
268 - pnm binary formats support multiple images per file
270 - compose channels - build a new image based on channels from several
275 - complex lines/curves:
277 - dotted/dashed lines
279 - end-point controls (butt-end, square-end, round-end, pointy, arrows)
280 - brush-lines (as with the Gimp, or Photoshop)
281 - more complex with multiple strokes and various randomness as with
282 Fractal Design Painter (or later versions of Corel Photo Paint)
283 - complex line shapes:
285 - general curves (cubic or bezier, whichever is more general)
286 - easy access to general curves:
287 - points to make a nice curve from
288 - various circular curves (centre, radii, start/end angles,
290 - Complex thick lines are probably more useful than brush-lines for
291 the things I expect Imager to be used for.
292 - http://www.develop-help.com/imager/strokes.png (.jpg for smaller version)
294 - have Imager::Color{::Float}? use Graphics::ColorNames if present.
297 - Make sure everything is doable with the OO interface
298 i_flood_fill() for example.
299 - include low-level functions like gsamp() and so on
301 - Compile with memory debugging enabled and fix all leaks
303 - Add mycalloc() memory allocation wrappers.
305 - should we overload <=> or cmp for Imager::Color objects?
306 too many worms, leave it out
308 - should the interlace option for reading raw images have
309 symbolic names in the OO interface?
311 - improve consistency in the interfaces, both in trying to use named
312 parameters where possible but also in using consistent names, eg.
313 (tx, ty) vs (left, top) in rubthrough() vs paste(). Do we want a (simple)
314 standard for this (suggested names)? Remember to preserve the old
315 interface where possible.
317 - try to clean up the inconsistencies between font types:
318 - utf8 (even if we just treat characters over 0xFF as missing for T1)
319 (done for FT2, FT1, T1)
320 - transformations (done for FT2)
321 - has_char() method (done for FT2, FT1, T1)
323 Format specific issues:
324 - provide patches for libgif and libungif that fix their bugs
325 and give a useful extension interface. Probe for the
326 installation of the patches in Makefile.PL to let gif.c
327 know what features it can use. (no need anymore)
329 - Add options for pnm writer to save in any of the p1..P6
330 formats. Even if the input has 1 channel, write 3 and such
331 cases. Also allow ascii mode. Need to be able to write
332 pbm images which needs ties to the quantization code.
334 - save paletted images as paletted where that's supported. Done
335 for gif/tga/bmp/tiff. Not done for png yet.
337 - read other format paletted images as paletted images. This has
338 been done for gif/tga/bmp/tiff formats but not for png.
340 - read/write 16-bit/sample images as such for tiff
342 - read more metadata from images, esp tiff tags, EXIF format information
345 - handle 16-bit/sample pgm/ppm files (done)
347 - "jpeg lossless rotation" - directly manipulates the JPEG
348 representation to rotate, scale or in some limited cases, crop an
352 - Add to the documentation
354 - sample code and Imager/Samples.pod describing them
355 - Imager/Cookbook.pod
356 - Write a guide to installing the helper libraries
357 - Go through the entire project and add comments in pod
358 so doco.perl can be used to read them.
359 - see the IRC log in design/doclayout.txt
364 - use prompt() (from ExtUtils::MakeMaker) for questions in Makefile.PL
365 - use the library's mechanism's to find the library if needed, for
366 example, freetype-config for FT2
367 - the freetype2 library is built as "freetype.lib" on Win32 and needs
368 to be renamed to be found by the configuration process and included
369 with -lfreetype. Try to work around that.
370 - freetype2 and freetype1 tend to be installed in /usr/include/freetype2
371 and /usr/include/freetype directories, or similarly named (somedir/freetype
372 for example), instead of putting these directly into the search path
373 search for the freetype{2}?/someheader and then add the subdirectory if
374 we find the file in that directory.
375 - switch to Test::More
376 - change headers to use more unique re-include protection macros
378 Old release checklists
379 ----------------------
381 0.44: (december 2004)
382 - set i_format for every file type on read and test for it:
387 - rgb - no read function anyway
392 - check each file reader for possible integer overflows
400 - check bmp code uses image data offset correctly - done
401 - check quant code for integer overflows - done
402 - check for old URLs (umich and imager.perl.org/~addi/...) - done
405 - resolve fills test failure under 5.8.6/darwin
406 http://www.nntp.perl.org/group/perl.cpan.testers/202802
407 add tests to check if the same problem occurs with other ?: operators
408 - stop tga_header_verify() from spewing junk to stdout (done)
409 - fix i_setcolors_p bug (done)
412 - audit rgb.c and add tests
413 - add META.yml (bypass EU::MM's limited mechanism) (done)
414 - implement i_incomplete for bmp files
415 - check if freetype 2 is faster/slower than freetype 1 with Imager's glyph
416 caching. If FT1 is faster, add caching as a TODO for FT2.
417 - add XS for i_tags_get_string() and test it. It has an apparent problem
418 in C<< sprintf(value, "%d", entry->data); >> since data is a pointer
420 - test and fix problem with fallback value for
421 Imager::Font::BBox->advance_width. (done)
422 - check handling of string() method align parameter. (done, fixed)
423 - i_tt_bbox_inst in font.c uses variable i without ever setting it. (fixed)
424 - add sample CGI that handles an uploaded image (done)
425 - examples for fountain filter in Imager::Filters (done)
426 - allow Imager::Fountain to take color descriptions (eg. blue, FF000)
427 instead of color objects for c0 and c1 (done)
428 - support newer GIMP gradient files with the Name line (done)
429 - provide access to right-side bearing information from the bounding box
430 function (done for all drivers)
431 - capture TIFF read warnings (i_warnings tag?) (done)
432 - Imager::Matrix2d rotate method only applies offset if both x and y
433 are non-zero, it should do it if either is non-zero (done)
434 - add Imager::Cookbook with at least 5 recipes (done)
435 - store floating point tags in an appropriate precision (done)
436 - allow image creation to fail on malloc() failure for the image data
437 rather than aborting. The current behaviour could be a denial of
438 service attack. This has limited utility because of the way memory
439 over commitment works on Linux (done but reverted)
440 - eliminate unused variable warning (especially the RETVAL ones in Imager.xs)
442 - handle probing for libraries better (use pkg-config or I<library>-config
443 where possible (freetype2 and libpng)) (done)
444 - add concept index to Imager.pm pod (done, still working it)
445 - replace testimg/penguin-base.ppm with a smaller image (done)
446 - add a sample CGI HTML and image generation scripts that work together,
447 with appropriate security management (done)