Just like the error message says, your code doesn't compile, and that because you have included the bmp.h
header file on top, which was used in resize
and copy
, but was included in the bmp directory, not in the jpg directory where this code lies. Simply remove the
#include "bmp.h"
Edit
You should also redefine BYTE
as it was included in bmp.h but now it's not included in this directory. Use
#include <stdint.h>
on top and then
typedef uint8_t BYTE;
This will allow your code to compile, but you still have a long way before your code actually works.
If this answers your question please accept it by clicking the gray check-mark to the left, so that it becomes green. You can also vote it up by pressing the up arrow above the check-mark. And don't forget to keep coding!