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