Fixed problem with gamma correction. New version: 1.0-113.

Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2001-09-10 18:08:46 +00:00
rodzic ad03d73cd4
commit da76df8e25
2 zmienionych plików z 9 dodań i 2 usunięć

Wyświetl plik

@ -46,7 +46,7 @@
/**************************************************************************/
/* Mustek backend version */
#define BUILD 112
#define BUILD 113
/**************************************************************************/
#include "../include/sane/config.h"
@ -2599,6 +2599,7 @@ gamma_correction (Mustek_Scanner *s, SANE_Int color_code)
else
{
bytes_per_channel = 256;
len = num_channels * bytes_per_channel;
gamma[2] = 0x27; /* indicate user-selected gamma table */
if (s->hw->flags & MUSTEK_FLAG_N)
{
@ -2613,7 +2614,6 @@ gamma_correction (Mustek_Scanner *s, SANE_Int color_code)
gamma[8] = (len >> 0) & 0xff;
gamma[9] = (color_code << 6);
}
len = num_channels * bytes_per_channel;
}
if (len > 0)

Wyświetl plik

@ -1,5 +1,12 @@
CHANGES for the SANE Mustek backend
2001-09-10
* Released Mustek backend 1.0-113.
2001-09-10
* Fixed bug in gamma correction code that broke at least custom gamma
for the Paragon 12000SP.
2001-08-26
* Released Mustek backend 1.0-112.