Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Png/Jpg images rendered on linux are stretched on windows #11160
Tested with phantomjs 1.8.2 on ubuntu 11.04/12.04
The rendered image looks good on the same linux machine, but seems to have wrong pixel aspect ratio on a windows machine.
Original image fixed on upload as attachment (or by viewing it in the browser):
Print screen with the issue:
Details of image rendered with my fix in place (Attn at x_res / y_res):
referenced this issue
Mar 26, 2013
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