FLTK logo

Re: [RFE] STR #3296: Improvement of bilinear scaling of images

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.bugs  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [RFE] STR #3296: Improvement of bilinear scaling of images chris Feb 03, 2023  
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link:         https://www.fltk.org/str.php?L3296
Version:      1.4-feature


As this STR (and it's predecessor) have quite a long history, here is a
summmary of the current state:

- The initial version in attachement #1 here had only one minor flaw with
transparent images, that was corrected with a change in attachment #2. 
- It's downscaling quality is *much* better than that of the current
bilinear scaling.
- The (up-)scaling accuracy is better: with the current scaling images that
stretch to the edges are aften cut off by 1 or 2 pixels (see
https://www.fltk.org/strfiles/3126/test2.png and comment #2 in
https://www.fltk.org/str.php?L3126).
- Speedwise it on par or faster than the current scaling.
- I have been using this version for quite a while in the past and it
worked well without any unwanted side effects.

I do have a cleaned up version based on current head, that I could turn in
a PR easily if you would like to use this contribution.
(I do not attach a diff here because these tend to get invalid soon).


Link:         https://www.fltk.org/str.php?L3296

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.