LT-55: Reducing PDF size by generating measurement images in JPEG
This commit is contained in:
1 parent
d49963f5b2
commit
20bd3f443c
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user