Page 1 of 1

New filters

Posted: Sat Nov 06, 2004 12:47 am
by BruceHarrison
I have used xnview for a little over a year now and am very impressed with its evolution . As a hobby I make graphics for a couple of freeware games and use your software as well a few other programs . I have two graphics filters suggestions that would make xnview more powerful for graphics designers .

The first and probably easier to add is a transparency adjuster . It would be able to adjust the alpha channel of an image by % or # with the option of leaving completely transparent sections untouched .

The second is a brightness controlled colorizer . The way it would work is the user could choose 2 or more colors to colorize an image to . The user would also choose to make the colorizing process work from brightness of 0-255 (real) or the darkest and brightest values of the image (adaptive) . So if you choose to colorize an image with 2 colors red (rgb 255,0,0) and blue (rgb 0,0,255) with real method selected for the high and low the pixels with a brightness of 0 (if any) would be red and the pixels with a brightness of 255 (if any) would be blue . All the other pixels would be colorized a % of the two colors depending on the brightness of the pixel (the pixels with a brightness of 127 would be colorized 50% red and 50% blue (rgb 127,0,127)) . If you choose to colorize an image with 3 colors red , blue , green and the adaptive method selected and the image had a maximum brightness of 200 and minimum brightness of 20 , the pixels with a brightness of 20 would be red , 110 would be blue and 200 would be green with the other pixels being colorized a % of the 2 colors they are between based on their brightness (the pixels with a brightness of 65 (half way between 20 and 110) would be colorized 50% between red and blue (rgb 127,0,127) and the pixels with a brightness of 155 (half way between 110 and 200) would be colorized 50% between blue and green (rgb 0,127,127)) .

I got the idea for these filters from other programs but the way I described them would be a huge improvement over the originals .

I also had a question about the resizing function in xnview . Other programs I have used have had the tri-linear or bi-cubic methods of resizing and they look very good . The problem is that they don't work with the alpha channel . Would it be possible to add them to xnview ?

Thanks again for one of the greatest freeware programs of all time .

Re: New filters

Posted: Sun Nov 07, 2004 8:32 am
by helmut
Thank you for your nice words regarding XnView and suggestions!
BruceHarrison wrote:...I also had a question about the resizing function in xnview . Other programs I have used have had the tri-linear or bi-cubic methods of resizing and they look very good . The problem is that they don't work with the alpha channel . Would it be possible to add them to xnview ?
In XnView 1.70, additional algorithms for resizing have been added, which have a decent results and quality. In the resize dialog, select "Lanczos" for resampling for example and you should get good/excellent results.

Note:
When resizing (decreasing size) screenshots or images with text in them, the text will become a bit blur. If the text is also important, I recommend to sharpen the images a bit after resizing (Filter / Misc / Sharpen.., e.g. 20 Percent).

Posted: Mon Nov 08, 2004 9:09 pm
by BruceHarrison
Your welcome :D

Do you think the transparency or colorizing filters could be added in future versions of xnview ? The transparency one at least seemed easier to create and probably useful to more people .

Also I was wondering about something like this filter http://elektron.its.tudelft.nl/~dalikifa/ . It works great for resizing images with text up but only works for a factor of 2 .

Posted: Mon Nov 08, 2004 9:32 pm
by helmut
BruceHarrison wrote:Your welcome :D

Do you think the transparency or colorizing filters could be added in future versions of xnview ? The transparency one at least seemed easier to create and probably useful to more people.
At the moment, there's many issues for improving XnView. Also I think, XnView's main strength is not so much special filters. So I doubt that this will make it into XnView, soon. That's just my opinion, Pierre's the developer of XnView and he decides.
BruceHarrison wrote:Also I was wondering about something like this filter http://elektron.its.tudelft.nl/~dalikifa/ . It works great for resizing images with text up but only works for a factor of 2 .
There's a discussion in topic Image enlarger/Magnification filter, already, let's continue the discussion, there.