Browse Source

* Patch from Andrey Korol, fix number of desired colors for Greyscale (bug id 30531)

git-svn-id: trunk@34465 -
michael 9 years ago
parent
commit
d4b581c10a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-image/src/fpreadjpeg.pas

+ 1 - 1
packages/fcl-image/src/fpreadjpeg.pas

@@ -211,7 +211,7 @@ var
     if (FInfo.out_color_space = JCS_GRAYSCALE) then 
       begin
       FInfo.quantize_colors := True;
-      FInfo.desired_number_of_colors := 236;
+      FInfo.desired_number_of_colors := 256;
       end;
 
     if FPerformance = jpBestSpeed then