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