mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-07 04:10:08 +00:00
This commit is contained in:
parent
7dc04fe3ef
commit
6163aeca3f
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ bool juce_writeJPEGImageToStream (const Image& image,
|
|||
// jpegCompStruct.smoothing_factor = 10;
|
||||
|
||||
if (quality < 0.0f)
|
||||
quality = 6.0f;
|
||||
quality = 0.85f;
|
||||
|
||||
jpeg_set_quality (&jpegCompStruct, jlimit (0, 100, roundFloatToInt (quality * 100.0f)), TRUE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue