-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Png/Jpg images rendered on linux are stretched on windows #11160
Comments
Uploading the image as an attachment seems to have corrected the issue. |
ImageMagick:
|
I'm assuming those details are from the "stretchy" image. What are the details for it when it isn't stretchy? |
Details of image rendered with my fix in place (Attn at x_res / y_res):
|
I finally found out a possible lead. PNG image writer needs to get horizontal and vertical resolutions. Qt's default horizontal and vertical dpi values are obtained via |
@sudosu- Can you try this with 1.9? I think I fixed this already in 3f42fb230f (see issue #10659). |
@ariya thank you for looking into this. I've just tested with 1.9 and cannot reproduce the issue anymore. The PNG looks good. |
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution! |
Tested with phantomjs 1.8.2 on ubuntu 11.04/12.04
phantomjs ../examples/rasterize.js http://google.com google.png
The rendered image looks good on the same linux machine, but seems to have wrong pixel aspect ratio on a windows machine.
If I open the image in an image editor (paint.net, photoshop) the image looks good. So I'm guessing there's some kind of metadata messed-up.
Original image fixed on upload as attachment (or by viewing it in the browser):
Print screen with the issue:
The text was updated successfully, but these errors were encountered: