Commit | Line | Data |
---|---|---|
b921d414 | 1 | *** TODO *** |
b921d414 | 2 | |
b8a4504c TC |
3 | Release Plans (subject to change) |
4 | ------------- | |
5 | ||
6 | brown-bag bugs may add intermediate releases. The dates are goals, | |
7 | not commitments. | |
8 | ||
22709d92 TC |
9 | For 0.56: |
10 | ||
a4947da7 | 11 | checking testing of new ft2 rendering (done) |
22709d92 TC |
12 | |
13 | possibly: use renderer on other fonts | |
14 | ||
21dd0ebb | 15 | check testing of new ppm input (done) |
22709d92 | 16 | |
21dd0ebb | 17 | check testing of new ppm output (done) |
22709d92 TC |
18 | |
19 | check lbr's font output issue | |
20 | ||
21dd0ebb | 21 | tests for monochrome makemap (done) |
22709d92 | 22 | |
467d3274 TC |
23 | correct handling of old Data::Dumper (#24391) (done) |
24 | ||
25 | fix unsharpmask documentation (#25531) | |
26 | ||
42feef3b TC |
27 | work around compiler bug on OS X (#25561) |
28 | ||
d93c7764 TC |
29 | BEFORE 0.54 |
30 | ||
4cda4e76 | 31 | OO interface for i_plin/i_glin (done) |
d93c7764 | 32 | |
4cda4e76 | 33 | remove gif query from makefile.pl (done) |
d93c7764 TC |
34 | |
35 | fallback for read/write_multi to read/write | |
36 | ||
658f724e | 37 | pnmscale based alternative scale method (done) |
d93c7764 | 38 | |
ea1ecfee | 39 | rubthrough 4 on 4 (done) |
d93c7764 | 40 | |
485cab1c | 41 | replace dummy test script in dynfilt with a real one (done) |
658f724e | 42 | |
03a9e7a4 TC |
43 | BEFORE 0.50: |
44 | ||
45 | skip t82inline.t tests if directory has spaces in name | |
46 | ||
47 | integrate pod coverage tests | |
48 | ||
49 | rework iolayers | |
50 | ||
51 | add .ico support | |
52 | ||
53 | note lack of IRC support | |
54 | ||
55 | document parseiptc() | |
56 | ||
8d89b19c TC |
57 | BEFORE 0.48: |
58 | ||
135d30e3 | 59 | scale() fixes/docs, Imager::Transformations going over. (done) |
8d89b19c | 60 | |
135d30e3 | 61 | do some more malloc checks (done) |
8d89b19c | 62 | |
135d30e3 | 63 | scan $Config{libspath} for directories if we can. (done) |
8d89b19c | 64 | |
4b23a851 TC |
65 | 0.47: |
66 | ||
67 | - more documentation (and corresponding code cleanup) | |
68 | ||
69 | - external C API access | |
70 | ||
71 | - hooks for file reading/writing | |
72 | ||
73 | - hooks for font types | |
74 | ||
75 | - hooks for filters | |
76 | ||
77 | - hooks for fills | |
78 | ||
79 | - filter pre-processor for handling both image access methods | |
80 | ||
81 | - move existing loadable filters into separate sub-directories | |
82 | ||
83 | - write Imager::SDL | |
84 | ||
85 | - maybe Imager::Tk::Photo | |
86 | ||
8d89b19c | 87 | |
ee5d34a5 | 88 | 0.46: (September 2005) |
106844eb | 89 | |
7a8f05fb TC |
90 | - check remaining memory allocation calls for integer overflows |
91 | http://rt.cpan.org/NoAuth/Bug.html?id=8213 | |
ad809a28 TC |
92 | - check *alloc() calls |
93 | - check llist_push() calls | |
7a8f05fb TC |
94 | |
95 | - fix Imager::Color warning when $ENV{HOME} isn't set from | |
77157728 | 96 | _get_gimp_color() (done) |
7a8f05fb TC |
97 | http://rt.cpan.org/NoAuth/Bug.html?id=13143 |
98 | ||
77157728 TC |
99 | - module version numbers (done) |
100 | http://rt.cpan.org/NoAuth/Bug.html?id=13047 | |
7a8f05fb | 101 | |
b8a4504c TC |
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 | |
77157728 | 104 | memory causing a denial of service attack. (done) |
106844eb | 105 | |
7a8f05fb | 106 | - implement gsamp()/gsampf()/plin() etc methods for those low level image |
f75c1aeb TC |
107 | interfaces which don't yet have methods. (done) |
108 | - code (done) | |
109 | - test (done) | |
110 | - document (done) | |
7a8f05fb | 111 | |
985bda61 | 112 | - add Imager::Tutorial (see Tk::UserGuide for a structure) (done) |
b8a4504c TC |
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 | |
106844eb | 116 | |
1611d101 TC |
117 | - rename lib/Imager/Cookbook.pm to lib/Imager/Cookbook.pod (done) |
118 | ||
b8a4504c | 119 | - add 5 more recipes to Imager::Cookbook |
106844eb | 120 | |
b8a4504c | 121 | - implement i_incomplete for png and gif files. |
106844eb | 122 | |
1a19d068 TC |
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 | |
126 | a range of examples | |
127 | - check each method description to ensure it's reasonably clear. | |
128 | - check POD sections (SEE ALSO in particular) | |
84960c16 | 129 | - multiple examples for writing GIF images. |
75237d28 TC |
130 | - name arguments and use those names in the documentation |
131 | http://nntp.perl.org/group/perl.perl5.porters/102434 | |
77c06476 | 132 | (#1521, #5608, #8231, #11429, #13058(done)) |
106844eb | 133 | |
f1adece7 | 134 | - have $img->read() act like ($img) = Imager->read_multi() on GIFs (done) |
84960c16 | 135 | |
ad809a28 TC |
136 | - figure out what the nearest_color filter does, and document it |
137 | ||
f75c1aeb | 138 | - remove image.h dependency on t1lib.h (done) |
ca4d914e TC |
139 | |
140 | - make sure dynfilt/Makefile.PL gets the same includes that | |
141 | Makefile.PL does. | |
142 | ||
84960c16 TC |
143 | 0.47: |
144 | ||
145 | - rework handling of antialiasing and other transparency against | |
146 | transparent images | |
147 | ||
148 | Places to check: | |
149 | - text AA rendering | |
150 | - AA line drawing | |
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 | |
154 | ||
08b5cf78 TC |
155 | 0.48: |
156 | ||
157 | - fill out handling of large sample (16/double per sample) images | |
158 | - filters | |
159 | - rendering: | |
160 | - lines | |
161 | - text | |
162 | - boxes | |
163 | - polygons | |
164 | - engines | |
165 | - matrix transform | |
166 | - transform() | |
167 | - transform2() | |
168 | - files: | |
169 | - png | |
170 | - tiff | |
171 | - pnm | |
84960c16 | 172 | |
b8a4504c TC |
173 | Speculation |
174 | ----------- | |
175 | ||
176 | Some of what's listed below has been implemented. | |
177 | ||
178 | - should i_incomplete be optional? ie. reading a short image results in | |
179 | an error unless the user requests incomplete images. | |
403946c6 | 180 | |
b921d414 AMH |
181 | Iolayer: |
182 | - Add scalar/mmap to iolayer | |
a106216b | 183 | - Add close() code to iolayer for fakeseek sources. |
b921d414 | 184 | - Merge callback interface into iolayer |
a106216b AMH |
185 | - and raw |
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. | |
190 | ||
b921d414 AMH |
191 | Enhanched internal structure: |
192 | ||
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 | |
199 | local errors? | |
200 | - SEE design/represent.txt for proposed new structure and | |
201 | interface design that takes these factors into account. | |
faa9b3e7 TC |
202 | - define common i_* tags for specifying attribute common among images |
203 | like spatial resolution (implement for other image types, especially | |
10461f9a TC |
204 | TIFF) (Spatial resolution is supported for all types that support |
205 | it - are there any other common properties we can add?) | |
faa6fa9b | 206 | - implement the i_incomplete tag for other formats |
b921d414 AMH |
207 | |
208 | New Features: | |
a106216b | 209 | - Add mng support, pcx and aalib support. |
9c106321 | 210 | - Windows icon files (.ico) (done) |
13db6021 TC |
211 | - ILBM (Amiga) images |
212 | - photoshop files (I think I've seen docs) | |
213 | - XBM | |
214 | - FITS | |
215 | - WMF (extract bitmap data on read) | |
216 | - gzip or bzip2 compressed raw | |
10461f9a | 217 | - postscript for output |
ee6f9750 | 218 | - PAM file support (man pam in recent PNM tools) |
5f5fe73e | 219 | |
b921d414 AMH |
220 | - Transforms, interpolated multidimensional lookup tables. |
221 | Usefull for CMYK <-> RGB table lookup. | |
222 | ||
a106216b | 223 | - advanced font layout (spacing, kerning, alignment) (Artur?) |
faa9b3e7 | 224 | |
bf9dd17c | 225 | - ways to check if characters are present in a font, eg. checking if |
9c5ed9a7 | 226 | ligatures are present (done for FreeType2) |
bf9dd17c | 227 | |
faa9b3e7 TC |
228 | - font synthesis - synthesize a bold or slanted font from a normal font |
229 | (or even from an existing bold or slanted font) | |
bf9dd17c | 230 | |
faa9b3e7 | 231 | - utf8 support for text output |
9c106321 | 232 | (available for FT1, freetype2, T1, Win32) |
c855ad0e TC |
233 | |
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) | |
245 | - as above | |
246 | - wrapping around boxes/images | |
247 | - pod2Imager :) | |
248 | ||
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 | |
253 | and then compare) | |
254 | - character names | |
255 | ||
256 | - encodings for text output (maybe using the Encode module to work | |
257 | between encodings) | |
faa9b3e7 TC |
258 | |
259 | - image rotation, 3 ways of doing rotation: | |
faa9b3e7 TC |
260 | - rotation by shearing, which produces makes lengths in the image larger, |
261 | but could be useful | |
a010a7d3 | 262 | (2 of the 3 have been done) |
faa9b3e7 | 263 | |
9c5ed9a7 TC |
264 | - read_multi() needs to handle other multi-image types, |
265 | (handles TIFF and GIF) | |
b921d414 | 266 | |
9c5ed9a7 | 267 | - write_multi() to save other multi-image types, (handles TIFF and GIF) |
8b695554 | 268 | - pnm binary formats support multiple images per file |
f62b2d84 | 269 | |
362e7486 TC |
270 | - compose channels - build a new image based on channels from several |
271 | images | |
272 | ||
da77e827 TC |
273 | - arc outlines |
274 | ||
9a71bc09 TC |
275 | - complex lines/curves: |
276 | - thick lines: | |
277 | - dotted/dashed lines | |
278 | - doubled 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: | |
284 | - lines | |
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, | |
289 | direction) | |
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) | |
293 | ||
ea9e6c3f TC |
294 | - have Imager::Color{::Float}? use Graphics::ColorNames if present. |
295 | ||
b921d414 AMH |
296 | Clean up: |
297 | - Make sure everything is doable with the OO interface | |
5f5fe73e | 298 | i_flood_fill() for example. |
45a1d9d2 | 299 | - include low-level functions like gsamp() and so on |
f1ac5027 | 300 | |
b921d414 AMH |
301 | - Compile with memory debugging enabled and fix all leaks |
302 | ||
a106216b | 303 | - Add mycalloc() memory allocation wrappers. |
b921d414 AMH |
304 | |
305 | - should we overload <=> or cmp for Imager::Color objects? | |
306 | too many worms, leave it out | |
307 | ||
308 | - should the interlace option for reading raw images have | |
309 | symbolic names in the OO interface? | |
310 | ||
f2bc9b80 TC |
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. | |
b921d414 | 316 | |
c855ad0e TC |
317 | - try to clean up the inconsistencies between font types: |
318 | - utf8 (even if we just treat characters over 0xFF as missing for T1) | |
3799c4d1 | 319 | (done for FT2, FT1, T1) |
eeaa33fd | 320 | - transformations (done for FT2) |
3799c4d1 | 321 | - has_char() method (done for FT2, FT1, T1) |
c855ad0e | 322 | |
b921d414 | 323 | Format specific issues: |
b921d414 AMH |
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 | |
9c106321 | 327 | know what features it can use. (no need anymore) |
b921d414 | 328 | |
a106216b | 329 | - Add options for pnm writer to save in any of the p1..P6 |
b921d414 AMH |
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. | |
333 | ||
a106216b | 334 | - save paletted images as paletted where that's supported. Done |
f62b2d84 | 335 | for gif/tga/bmp/tiff. Not done for png yet. |
f873cb01 | 336 | |
a106216b | 337 | - read other format paletted images as paletted images. This has |
f62b2d84 TC |
338 | been done for gif/tga/bmp/tiff formats but not for png. |
339 | ||
340 | - read/write 16-bit/sample images as such for tiff | |
27d9683e | 341 | |
faa6fa9b TC |
342 | - read more metadata from images, esp tiff tags, EXIF format information |
343 | from TIFF and JPEG. | |
344 | ||
9c106321 | 345 | - handle 16-bit/sample pgm/ppm files (done) |
7ac6a2e9 | 346 | |
fca19321 TC |
347 | - "jpeg lossless rotation" - directly manipulates the JPEG |
348 | representation to rotate, scale or in some limited cases, crop an | |
349 | image. | |
350 | ||
b921d414 AMH |
351 | Documentation: |
352 | - Add to the documentation | |
353 | - Write a tutorial? | |
faa9b3e7 TC |
354 | - sample code and Imager/Samples.pod describing them |
355 | - Imager/Cookbook.pod | |
b921d414 AMH |
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. | |
faa6fa9b | 359 | - see the IRC log in design/doclayout.txt |
6d0ed98a TC |
360 | - method index? |
361 | - concept index? | |
ea9e6c3f TC |
362 | |
363 | Build/configure: | |
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. | |
7ac6a2e9 | 375 | - switch to Test::More |
5e9890e1 | 376 | - change headers to use more unique re-include protection macros |
6b64de41 TC |
377 | |
378 | Old release checklists | |
379 | ---------------------- | |
380 | ||
381 | 0.44: (december 2004) | |
382 | - set i_format for every file type on read and test for it: | |
383 | - bmp - done | |
384 | - jpeg - done | |
385 | - tiff - done | |
386 | - tga - done | |
387 | - rgb - no read function anyway | |
388 | - png - done | |
389 | - gif - done | |
390 | - pnm - done | |
391 | - raw - done | |
392 | - check each file reader for possible integer overflows | |
393 | - bmp - done | |
394 | - tiff | |
395 | - tga | |
396 | - rgb | |
397 | - png | |
398 | - gif | |
399 | - pnm | |
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 | |
403 | ||
ee5d34a5 TC |
404 | 0.45: (march 2005?) |
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) | |
410 | - audit pnm.c (done) | |
411 | - audit tga.c (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 | |
419 | (done) | |
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) | |
441 | (done) | |
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) | |
448 |