i have my bmp file in the same directory but the error shows me that it could not find the file. I tried deleting the resize directory but the same error occurs.. what to do??
Again, you created a sub-directory
resize, I guess this happened by not following the instructions on downloading and unpacking the zip file. Check the directory where they execute those commands!
Use something like
mv ~/workspace/pset4/resize/resize/* ~/workspace/pset4/resize/ rm -df ~/workspace/pset4/resize/resize
to fix this.