LT-55: Reducing PDF size by generating measurement images in JPEG
This commit is contained in:
parent
d49963f5b2
commit
20bd3f443c
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user