LT-55: Reducing PDF size by generating measurement images in JPEG

This commit is contained in:
Bruno Alves de Faria 2017-01-26 15:17:28 -02:00
parent d49963f5b2
commit 20bd3f443c

View File

@ -67,7 +67,7 @@ OHIF.measurements.exportPdf = (measurementApi, timepointApi) => {
number: measurement.measurementNumber,
location: measurement.location || '',
info,
image: enabledElement.canvas.toDataURL()
image: enabledElement.canvas.toDataURL('image/jpeg', 0.85)
});
cornerstoneTools.clearToolState(element, measurement.toolType);