[gimp/gimp-2-8] file-jpeg: Improve description of file-jpeg-save args (#738443)



commit 21869f257d0bf753dac9c4ad0853a73cc5961fe9
Author: Mukund Sivaraman <muks banu com>
Date:   Mon Oct 20 10:22:16 2014 +0530

    file-jpeg: Improve description of file-jpeg-save args (#738443)
    
    (cherry picked from commit 5c0cdb8ca8ab0b27548fd8b79377e885985a1dab)

 plug-ins/file-jpeg/jpeg.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/file-jpeg/jpeg.c b/plug-ins/file-jpeg/jpeg.c
index 466fa3a..045f633 100644
--- a/plug-ins/file-jpeg/jpeg.c
+++ b/plug-ins/file-jpeg/jpeg.c
@@ -121,13 +121,13 @@ query (void)
     { GIMP_PDB_STRING,   "raw-filename", "The name of the file to save the image in" },
     { GIMP_PDB_FLOAT,    "quality",      "Quality of saved image (0 <= quality <= 1)" },
     { GIMP_PDB_FLOAT,    "smoothing",    "Smoothing factor for saved image (0 <= smoothing <= 1)" },
-    { GIMP_PDB_INT32,    "optimize",     "Optimization of entropy encoding parameters (0/1)" },
-    { GIMP_PDB_INT32,    "progressive",  "Enable progressive jpeg image loading (0/1)" },
+    { GIMP_PDB_INT32,    "optimize",     "Use optimized tables during Huffman coding (0/1)" },
+    { GIMP_PDB_INT32,    "progressive",  "Create progressive JPEG images (0/1)" },
     { GIMP_PDB_STRING,   "comment",      "Image comment" },
-    { GIMP_PDB_INT32,    "subsmp",       "The subsampling option number" },
+    { GIMP_PDB_INT32,    "subsmp",       "Sub-sampling type { 0, 1, 2, 3 } 0 == 4:2:0 (chroma quartered), 1 
== 4:2:2 Horizontal (chroma halved), 2 == 4:4:4 (best quality), 3 == 4:2:2 Vertical (chroma halved)" },
     { GIMP_PDB_INT32,    "baseline",     "Force creation of a baseline JPEG (non-baseline JPEGs can't be 
read by all decoders) (0/1)" },
     { GIMP_PDB_INT32,    "restart",      "Interval of restart markers (in MCU rows, 0 = no restart markers)" 
},
-    { GIMP_PDB_INT32,    "dct",          "DCT algorithm to use (speed/quality tradeoff)" }
+    { GIMP_PDB_INT32,    "dct",          "DCT method to use { INTEGER (0), FIXED (1), FLOAT (2) }" }
   };
 
   gimp_install_procedure (LOAD_PROC,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]