lehitoskin / ivy

Ivy, the Taggable Image Viewer
GNU General Public License v3.0
16 stars 3 forks source link

Alleviate scaled image "jaggies" #39

Closed lehitoskin closed 8 years ago

lehitoskin commented 8 years ago

When an image is scaled, it looks all jagged 'n' stuff. Maybe instead of using draw-pict to display to the canvas, use draw-bitmap, but still use picts for resizing. draw-bitmap makes things look smoother, but scaling a lot will make it super blurry.

lehitoskin commented 8 years ago

Simply converting image-pict to a bitmap makes things run super slow. Might have to redo a whole lot more code than I thought.

lehitoskin commented 8 years ago

Just for clarification: I mistook the lag while rapidly resizing the window as a product of converting the pict to a bitmap, but that visual lag existed prior to the conversion. Thus, any extra lag produced by the conversion is negligible while the visual enhancements are quite noticeable.