Skip to content

Magnifier tool renders scaled buffer instead of original image resolution #503

@Elashar

Description

@Elashar

Hello,

First of all, thank you for YACReader, it’s an excellent manga reader.

I noticed that the magnifier tool appears to enlarge the currently rendered (fit-to-screen) image instead of sampling directly from the original image resolution. When comparing the two:

  • Regular zoom (+) -> sharp features, uses original image data.
  • Magnifier tool -> slightly blurred, seems to upscale the displayed buffer.
    So it seems that the magnifier is scaling the already downscaled framebuffer rather than cropping and re-rendering from the original QImage.

Would it be possible to implement a true-resolution magnifier that crops the region directly from the original image, scales that region independently, and allows inspection up to (or beyond) 1:1 pixel mapping? Since the original image is already loaded in memory, this wouldn’t add significant performance cost. This would improve small and fine-detail inspection, especially in smaller laptops.

Below is an example comparing regular zoom and the magnifier when starting from fit-to-screen mode on a 1920×1200 display using a 1500×2250 manga image:
Image
Image

Thank you for considering it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions