It reads the pasted image height just fine. I added a console log to see each pixel