Lines 455-463
Link Here
|
455 |
|
455 |
|
456 |
// Init transformation |
456 |
// Init transformation |
457 |
jpeg_transform_info transformoption; |
457 |
jpeg_transform_info transformoption; |
|
|
458 |
memset(&transformoption, 0, sizeof(jpeg_transform_info)); |
458 |
transformoption.transform = findJxform(d->mTransformMatrix); |
459 |
transformoption.transform = findJxform(d->mTransformMatrix); |
459 |
transformoption.force_grayscale = false; |
|
|
460 |
transformoption.trim = false; |
461 |
jtransform_request_workspace(&srcinfo, &transformoption); |
460 |
jtransform_request_workspace(&srcinfo, &transformoption); |
462 |
|
461 |
|
463 |
/* Read source file as DCT coefficients */ |
462 |
/* Read source file as DCT coefficients */ |