I was wondering what are some prefered image libraries to load jpeg files. I'm currently using allegro and jpgalleg. I dont like this setup because when I save the jpg, I lose quailty or the filesize increases. I tried vigra, but when the program wouldnt load. It would compile okay, but when the program reached the vigra::ImportImageInfo step of the program, the program quit. All I need to be able to do is retrieve the width and height in pixels of jpeg images, determine if the image is a jpeg file or not, and save the jpeg where the filesize decreases without the quality descreasing (like if you open a jpeg image in paint and hit save, the filesize decreases and the quality doesnt decrease).
Thanks in advance for any help.