09-16-2016, 07:37 PM
By adding the preview option to the camera dialog I realize that some extra data are necessary to make it work fine with those two extra negative format I added:
I have not idea about which values in the code bellow I have to add for these two new options:
Do you have any idea?
Quote: [{"24x36 [3:2]" ,{24,36}},
{"34x60 [16:9]",{34,60}},
{"45x60 [4:3]" ,{45,60}},
{"60x60 [1:1]" ,{60,60}},
{?__(4,"Custom"),custom}],
I have not idea about which values in the code bellow I have to add for these two new options:
Code:
camera_lens_length({34,60}, LensType) ->
float(case LensType of
???
end);
camera_lens_length({45,60}, LensType) ->
float(case LensType of
???
end);
camera_lens_length({24,36}, LensType) ->
float(case LensType of
wide_angle -> 24;
moderate_wide_angle -> 35;
standard -> 50;
short_tele -> 85;
tele -> 135
end);
camera_lens_length({60,60}, LensType) ->
float(case LensType of
wide_angle -> 40;
moderate_wide_angle -> 60;
standard -> 80;
short_tele -> 150;
tele -> 250
end);
Do you have any idea?