Improvement in resampling, and new feature idea
While working on new images for the Mariage site, I noticed that the quality of the IMT's "web view" scaled-down graphic was much inferior to the results obtained from scaling the graphic in PhotoShop. Greg and I started looking through the Graphics32 documentation, and discovered that the addition of one line of code could cause IMT to invoke a TKernelResampler when doing the downsampling; this is slightly slower, but produces a vastly improved result.
I've changed the version number to 1.6 for this, which means that I need to write a converter XSLT file; it also means that I need to generate a new schema from Roma, and check all the differences (I currently know of only one, the @value
attribute having changed to @when
on the <date>
element, but there are bound to be others). This should be a priority now.
Greg also suggested a new "make a thumbnail" feature, which we kicked around till we came up with this:
If you click on Make Thumbnail when there's nothing selected, it defaults to selecting the whole image; otherwise, it works with the selection. A dialog box pops up which shows you the current Left, Top, Width and Height values, which are editable; changes are reflected in the actual selection. When you've tweaked those, you can specify the output size for your thumbnail; it can be proportional or not. Then you click OK, and get a file save dialog, then a thumbnail image is saved. This would be EXTREMELY handy for the Mariage site.