marcisme / sketch-preview

Sketch plugin to preview mockups in Skala Preview
MIT License
610 stars 37 forks source link

Black screen on large height #32

Closed MatejKustec closed 8 years ago

MatejKustec commented 8 years ago

Hi, I have a problem with large height artboard, when I preview artboard it shows me black screen, if I reduce artboard height to smaller height it's working fine.

I get this black screen on Skala View (android), on Skala Preview I see the image which should previewed.

marcisme commented 8 years ago

Do you know at what size the screen starts blacking out on Skala View? Someone else reported this a while back at around 1300 pixels, and I was unable to reproduce with Skala Preview. Unfortunately I no longer have any android devices to test Skala View on.

Since the image is displayed in Skala Preview but not Skala View, it seems like it might be an issue with Skala View. It would be helpful to know at what pixel hight the Skala View image goes black in order to follow up with bjango.

MatejKustec commented 8 years ago

I got black screen at 2049px height, so I'll also try to talk with bjango and see what they up to, it could be problem on their side.

MatejKustec commented 8 years ago

I got answer from bjango:

We’re hoping to improve this in the future, but on some devices, the maximum GPU texture limits the image size. In this case, it seems like your device’s GPU texture limit is 2048 pixels (which is common). Sorry!

marcisme commented 8 years ago

Thanks for reporting back. That is unfortunate, but it's good to know about this limitation.