i am getting following errors when trying to read an image files pixel:



F:\tm\final>java pixelcheck
1
2
no. of row is:-1
no. of col is:-1
Exception in thread "main"...