You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason on my device the image resolution has to be flipped.
Even though my images are 680w x 920h, I had to put in 920x680 in your tool which asks for: WIDTHxHEIGHT.
If I put it in as the script asks for (680x920), it will display stretched on the device.
So I needed to change the code to:
39 wid, hgt = img.size
40 if specs["height"] != wid or specs["width"] != hgt:
41 prform("INFO","Flipped image")
Otherwise it would quit with an error.
Is this a bug and you should be asking for HEIGHT x WIDTH? Or is this an oddity of my device and you might want to change your code to allow it?
The text was updated successfully, but these errors were encountered:
For some reason on my device the image resolution has to be flipped.
Even though my images are 680w x 920h, I had to put in 920x680 in your tool which asks for: WIDTHxHEIGHT.
If I put it in as the script asks for (680x920), it will display stretched on the device.
So I needed to change the code to:
Otherwise it would quit with an error.
Is this a bug and you should be asking for HEIGHT x WIDTH? Or is this an oddity of my device and you might want to change your code to allow it?
The text was updated successfully, but these errors were encountered: