Comments (9)
Just randomly drew an ellipse and seems I'm able to reproduce this issue.
Original image used to test this bug
Anyway, I'll investigate it later™.
from pineapple-pictures.
Update: 36c54ad introduced a bug that has been fixed in 7a0ed5b. If you are using 36c54ad please consider update :)
from pineapple-pictures.
pineapple-pictures/app/graphicsview.cpp
Lines 392 to 399 in 4c07a89
Currently pineapple-pictures uses QGraphicsPixmapItem::setTransformationMode
with SmoothTransformation
to smooth image when zoomed out, not sure how Gwenview did, will investigate it later™.
By the way, did you mind share the original image so I can use that to test on my machine?
Thanks!
from pineapple-pictures.
Can't give that image right now, any image should work. I feel like there's some other transformation going on, since it looks fine in flameshot recent uploads window, which uses QLabel with scaled QPixmap
from pineapple-pictures.
I don't have an image that very suited for testing this issue right now. It seems like Gwenview uses the same method (not 100% sure, just did a quick look), may look into it later. It could be an interesting issue if Gwenview really does that and the behavior is not the same :p
from pineapple-pictures.
I'm probably using the QGraphicsView/QGraphicScene in a wrong way. Currently, when zooming in and out, the program will apply the scale to the graphics view instead of the image (QGraphicsPixmapItem) item. The SmoothTransformation
mode applied to the item seems will only work when the scale transform is applied to the item.
Maybe I need to refactor some part of the code to resolve this issue, still not sure about this. Anyway confirmed this issue and this should be resolved in later updates.
from pineapple-pictures.
Hi and could you try if 36c54ad resolved this issue?
from pineapple-pictures.
Preview thing is also not using SmoothTransform btw
from pineapple-pictures.
The preview and the main area share the same graphics scene so only one of them could look smooth in the current implementation. It's just a navigation preview so I guess it's okay ;P
I'll close this issue then, let me know if you found any other issue :)
from pineapple-pictures.
Related Issues (20)
- CMYK颜色模式的 .jpg图片,打开后偏色 HOT 3
- Full screen mode HOT 1
- Option to turn off window transparency
- Option to change background color HOT 1
- Scaling the transparent background HOT 1
- advices HOT 2
- 窗口拖动 HOT 2
- any plan to support .jxl? HOT 3
- Playlist missing heic images
- pineapple-pictures v0.8.0 fails to build on i386 HOT 3
- Open with other program HOT 1
- 功能建议:在系统任务栏处显示对应的图片名称 HOT 1
- 功能建议:暂停 gif 或 gif 逐帧播放 HOT 2
- 功能建议:增加默认按实际尺寸1:1来打开图片 HOT 15
- First test feedback: TIFF auto-load support HOT 8
- Rotation UI proposals HOT 6
- 能否增加一键直接文件关联的功能? HOT 1
- File name caption feature
- WIN7系统图片无法关联使用这软件默认打开 HOT 5
- Windows: 支持HEIC格式 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pineapple-pictures.