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
{{ message }}
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
privatevoidGetPngDimension(outintwidth,outintheight){width=0;height=0;// Look into the byte array and get the size of the imagefor(inti=0;i<=3;i++){width=_bytes[i]|width<<8;height=_bytes[i+4]|height<<8;}}
It should be:
privatevoidGetPngDimension(outintwidth,outintheight){width=0;height=0;intoffset=16;// Look into the byte array and get the size of the imagefor(inti=0;i<=3;i++){width=_bytes[i+offset]|width<<8;height=_bytes[i+4+offset]|height<<8;}}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
PlatformImage.cs
It should be:
The text was updated successfully, but these errors were encountered: