comparison src/glyphs-x.c @ 183:e121b013d1f0 r20-3b18

Import from CVS: tag r20-3b18
author cvs
date Mon, 13 Aug 2007 09:54:23 +0200
parents 0132846995bd
children 3d6bfa290dbd
comparison
equal deleted inserted replaced
182:f07455f06202 183:e121b013d1f0
1381 } 1381 }
1382 #endif 1382 #endif
1383 1383
1384 /* Step 3: read file parameters with jpeg_read_header() */ 1384 /* Step 3: read file parameters with jpeg_read_header() */
1385 1385
1386 (void) jpeg_read_header (&cinfo, TRUE); 1386 jpeg_read_header (&cinfo, TRUE);
1387 /* We can ignore the return value from jpeg_read_header since 1387 /* We can ignore the return value from jpeg_read_header since
1388 * (a) suspension is not possible with the stdio data source, and 1388 * (a) suspension is not possible with the stdio data source, and
1389 * (b) we passed TRUE to reject a tables-only JPEG file as an error. 1389 * (b) we passed TRUE to reject a tables-only JPEG file as an error.
1390 * See libjpeg.doc for more info. 1390 * See libjpeg.doc for more info.
1391 */ 1391 */
1416 cinfo.two_pass_quantize = TRUE; 1416 cinfo.two_pass_quantize = TRUE;
1417 cinfo.colormap = NULL; 1417 cinfo.colormap = NULL;
1418 1418
1419 /* Step 5: Start decompressor */ 1419 /* Step 5: Start decompressor */
1420 1420
1421 (void) jpeg_start_decompress (&cinfo); 1421 jpeg_start_decompress (&cinfo);
1422 /* We can ignore the return value since suspension is not possible 1422 /* We can ignore the return value since suspension is not possible
1423 * with the stdio data source. 1423 * with the stdio data source.
1424 */ 1424 */
1425 1425
1426 /* At this point we know the size of the image and the colormap. */ 1426 /* At this point we know the size of the image and the colormap. */
1542 unwind.pixels, unwind.npixels, 1542 unwind.pixels, unwind.npixels,
1543 instantiator); 1543 instantiator);
1544 1544
1545 /* Step 7: Finish decompression */ 1545 /* Step 7: Finish decompression */
1546 1546
1547 (void) jpeg_finish_decompress (&cinfo); 1547 jpeg_finish_decompress (&cinfo);
1548 /* We can ignore the return value since suspension is not possible 1548 /* We can ignore the return value since suspension is not possible
1549 * with the stdio data source. 1549 * with the stdio data source.
1550 */ 1550 */
1551 1551
1552 /* And we're done! 1552 /* And we're done!