Change-Id: I93426d94aed4633c7a0b2e898ae45400e39d9382
Graphics:
=========
-* It was not possible to set the compression quality when exporting into jpeg.
- See bug 5573 and SEP 52.
+* JPG compression level is now set to 95 by default.
+
+* Extends the xs2jpg function with a compression argument to set the quality of
+ the exported JPG.
+ See bug 5573 and SEP 54.
Localization:
<term>compression_quality</term>
<listitem>
- <para>real, a number between 0 and 1 (best quality). The default compression quality is set to 0.75.</para>
+ <para>real, a number between 0 and 1 (best quality). The default compression quality is set to 0.95.</para>
<para>Argument available since Scilab 5.3.2</para>
</listitem>
</varlistentry>
{
char **fileName = NULL;
char *real_filename = NULL;
- float jpegCompressionQuality = 0.75f;
+ float jpegCompressionQuality = 0.95f;
ExportOrientation orientation = EXPORT_PORTRAIT; /* default orientation */
long int lout = 0;
int out_n = 0;