Hi!, i'd like to share with yours the way that i achieve (simple) image processing, i used the stb_image library and expect that this could be usefull for others that just need basic image manipulation.
Download the 2 libraries: stb_image.c and stb_image_write.h and the test.c from the attached file that is the app.
test.c is an app that will give a contrast correction in the image using a transformation.
Be sure that the PATH has been correctly setup in the host, if not sure do:
$ export PATH=$PATH:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin
$ gcc -g -o exe test.c -lm
$ ./exe lena.jpg output.bmp
$ bfin-uclinux-gcc -Wl,-elf2flt test.c -o bftest -lm