* Don't trust EXIF to tell us the accurate resolution; instead, parse the JPEG data ourselves.
* Add on-the-fly downscaling for JPEGs too large to fit the JPEG_LRG DLNA profile.
This commit is contained in:
@ -20,6 +20,9 @@ typedef struct {
|
||||
void
|
||||
image_free(image *pimage);
|
||||
|
||||
int
|
||||
image_get_jpeg_resolution(const char * path, int * width, int * height);
|
||||
|
||||
image *
|
||||
image_new_from_jpeg(const char * path, int is_file, const char * ptr, int size);
|
||||
|
||||
|
Reference in New Issue
Block a user