]> git.sesse.net Git - qscale/blobdiff - libqscale.h
Add support for grayscale JPEGs, although in a quite ugly way.
[qscale] / libqscale.h
index d9e18e7440ed7d8eabb768c02bd54e1e4d0e767b..409a9bb7488366ddee5770bd38489eaddae48a2a 100644 (file)
@@ -8,6 +8,9 @@ typedef struct {
        /* True image size */
        unsigned width, height;
 
+       /* 1 = B/W, 3 = YCbCr */        
+       unsigned num_components;
+
        /* Component image sizes (possibly subsampled) */
        unsigned w0, h0;
        unsigned w1, h1;