java.lang.IllegalArgumentException: y + height must be <= bitmap.height()


Solutions on the web5

Solution icon of stackoverflow
y + height must be <= bitmap.height()

Solution icon of github
x + width must be <= bitmap.width()

Solution icon of web
via processing.org by Unknown author, 11 months ago
x + width must be <= bitmap.width()

Solution icon of github
x + width must be <= bitmap.width()

Solution icon of googlegroups
via Google Groups by Johan van Wyk, 2 months ago
x + width must be <= bitmap.width()

Stack trace

java.lang.IllegalArgumentException: y + height must be <= bitmap.height()
	at android.graphics.Bitmap.checkPixelsAccess(Bitmap.java:818)
	at android.graphics.Bitmap.getPixels(Bitmap.java:771)
	at com.tecmark.Jjilapp$TouchView.onDraw(Jjilapp.java:206)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

5 times, 8 months ago