IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2006, 4:51:57 PM (20 years ago)
Author:
magnier
Message:

fixed error in psImageJpegColormapAlloc: vector length not set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/jpeg/psImageJpeg.c

    r7380 r7697  
    3333    map->blue  = psVectorAlloc(256, PS_TYPE_U8);
    3434    map->green = psVectorAlloc(256, PS_TYPE_U8);
     35
     36    map->red->n = 256;
     37    map->blue->n = 256;
     38    map->green->n = 256;
    3539
    3640    return map;
Note: See TracChangeset for help on using the changeset viewer.