Ignore:
Timestamp:
May 25, 2006, 4:09:55 PM (16 years ago)
Author:
Eugene Romanenko
Message:

poppler updated to version 0.5.2, also needed changes to be compatible with new poppler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/mypoppler/splash/SplashBitmap.cc

    r2 r27  
    3737  case splashModeRGB8:
    3838  case splashModeBGR8:
    39     rowSize = width * 3;
     39    rowSize = width * 4;
    4040    break;
    4141  case splashModeARGB8:
     
    129129        fputc(splashRGB8G(p), f);
    130130        fputc(splashRGB8B(p), f);
    131         p += 3;
     131        p += 4;
    132132      }
    133133      row += rowSize;
     
    214214  case splashModeRGB8:
    215215  case splashModeBGR8:
    216     p = &data[y * rowSize + 3 * x];
    217     pixel[0] = p[0];
    218     pixel[1] = p[1];
    219     pixel[2] = p[2];
     216    p = &data[y * rowSize + 4 * x];
     217    pixel[0] = p[2];
     218    pixel[1] = p[1];
     219    pixel[2] = p[0];
    220220    break;
    221221  case splashModeARGB8:
Note: See TracChangeset for help on using the changeset viewer.