-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Picture quality problem #120
Comments
The plugin does not affect the picture quality. It just displays it and the quality depends on the original picture. If your image quality is bad, when you display it fullscreen it can look bad / pixelated. |
I have a same issue when zooming the picture. Happens with good quality original .png pictures, even with .svg pictures. |
@ptakalok yes, that's right. |
Oh okay so it's the zoom you are talking about ? |
@Riron Thank you for checking about it. I think you would better to mension about it on the Readme.md file. in my case, I had checked whole of my codes to find out the problem of picture's low quality. almost spent a half day. Anyway, thank u for making this good plugin for others :) |
Hi @Riron, please take a look at #124 (comment) |
It seems like it's because the image is capped to 100% width and height on load. Then when it is scaled, it is that rendered image that is scaled, not the original image. If possible to modify width and height when image is pinched rather than using the scaling transform, I think it might fix the issue. Just looked at the comment above, and seems they came to the same conclusion. |
Or perhaps start with 1000% width and height, and transform set on 1/10th |
Only issue with that is you can't use max, so you will have trouble maintaining aspect ratio and keeping image full screen. You could set maxwidth and height to 1000% but then if the image isn't that big, it will shrink more than you want, And if you set width and height to 1000% then the image will be skewed I think. Would probably need to use JS to read dimensions of image and screen and adjust appropriately, or allow passing of values as properties of the img element. |
Please provide you version information :
Have you checked...
I used your plugin and I made photo quality option as 100 when I save it.
but when the app loads pictures, the quality of pictures were so low.
Spent long time to find the causes from my logic, there was nothing wrong.
Then I changed plugin to test.
After changing plugin into 'Photo Viewer (another plugin)',
the quality of picture became so great.
In normal case, it doesn't matter.
but, some apps need to show letters on the picture (that means quality is important).
The text was updated successfully, but these errors were encountered: