Changeset 25027 for branches/pap/psLib/src/jpeg/psImageJpeg.c
- Timestamp:
- Aug 7, 2009, 4:08:25 PM (17 years ago)
- Location:
- branches/pap
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psLib/src/jpeg/psImageJpeg.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap
- Property svn:mergeinfo changed
-
branches/pap/psLib/src/jpeg/psImageJpeg.c
r23486 r25027 202 202 if (isfinite(row[i])) { 203 203 pixel = PS_JPEG_SCALEVALUE(row[i],zero,scale); 204 outPix[0] = Rpix[pixel]; 205 outPix[1] = Gpix[pixel]; 206 outPix[2] = Bpix[pixel]; 204 207 } else { 205 pixel = 0; 206 } 207 outPix[0] = Rpix[pixel];208 outPix[1] = Gpix[pixel];209 outPix[2] = Bpix[pixel]; 208 // XXX NAN value should be set per-color map 209 outPix[0] = 0xff; 210 outPix[1] = 0x00; 211 outPix[2] = 0xff; 212 } 210 213 } 211 214 jpeg_write_scanlines(&cinfo, jpegLineList, 1);
Note:
See TracChangeset
for help on using the changeset viewer.
