File tree 2 files changed +7
-0
lines changed
src/main/java/pl/asie/zima/image/gui
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -978,6 +978,7 @@ public ZimaProfileSettings getSettings() {
978
978
979
979
settings .setContrastReduction (this .profile .getProperties ().get (ZimaConversionProfile .TRIX_CONTRAST_REDUCTION ));
980
980
settings .setAccurateApproximate (this .profile .getProperties ().get (ZimaConversionProfile .TRIX_ACCURATE_APPROXIMATE ));
981
+ settings .setImageConverterType (this .profile .getProperties ().get (ZimaConversionProfile .IMAGE_CONVERTER_TYPE ));
981
982
982
983
settings .setAspectRatioPreservationMode (this .profile .getProperties ().get (ZimaConversionProfile .ASPECT_RATIO_PRESERVATION_MODE ));
983
984
@@ -1053,6 +1054,10 @@ public void setSettings(ZimaProfileSettings settings) {
1053
1054
this .profile .getProperties ().set (ZimaConversionProfile .TRIX_CONTRAST_REDUCTION , settings .getContrastReduction ());
1054
1055
}
1055
1056
1057
+ if (settings .getImageConverterType () != null ) {
1058
+ this .profile .getProperties ().set (ZimaConversionProfile .IMAGE_CONVERTER_TYPE , settings .getImageConverterType ());
1059
+ }
1060
+
1056
1061
if (settings .getAccurateApproximate () != null ) {
1057
1062
this .profile .getProperties ().set (ZimaConversionProfile .TRIX_ACCURATE_APPROXIMATE , settings .getAccurateApproximate ());
1058
1063
}
Original file line number Diff line number Diff line change 20
20
21
21
import lombok .Data ;
22
22
import pl .asie .zima .image .ElementRule ;
23
+ import pl .asie .zima .image .ImageConverterType ;
23
24
import pl .asie .zima .util .AspectRatioPreservationMode ;
24
25
25
26
import java .util .List ;
@@ -40,4 +41,5 @@ public class ZimaProfileSettings {
40
41
private Float accurateApproximate ;
41
42
42
43
private AspectRatioPreservationMode aspectRatioPreservationMode ;
44
+ private ImageConverterType imageConverterType ;
43
45
}
You can’t perform that action at this time.
0 commit comments