Closed lehitoskin closed 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.
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.
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.