Changes between Initial Version and Version 1 of Ticket #40370, comment 6
- Timestamp:
- 10/13/2018 01:21:21 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #40370, comment 6
initial v1 16 16 0 => 0 17 17 1 => 0 18 3=> // Crop start X axis19 4=> // Crop start Y axis20 5=> // New width21 6=> // New height22 7=> // Crop width on source image23 8=> // Crop height on source image18 2 => // Crop start X axis 19 3 => // Crop start Y axis 20 4 => // New width 21 5 => // New height 22 6 => // Crop width on source image 23 7 => // Crop height on source image 24 24 ]; 25 25 }}} 26 26 27 The crop hash could be generated from `$source_w,$source_h,$dims[ 3],$dims[4],$dims[7],$dims[8]`. This will ensure images from the same source with the same aspect ratio and crop will end up with the same hash.27 The crop hash could be generated from `$source_w,$source_h,$dims[2],$dims[3],$dims[6],$dims[7]`. This will ensure images from the same source with the same aspect ratio and crop will end up with the same hash. 28 28 29 29 If the final two values are the same as the source image then no hash is required.