|
@@ 3429-3432 (lines=4) @@
|
| 3426 |
|
if (!$this->xto) { |
| 3427 |
|
$source_ar = $this->source_width / $this->source_height; |
| 3428 |
|
$exif_ar = $this->exif_thumbnail_width / $this->exif_thumbnail_height; |
| 3429 |
|
if (number_format($source_ar, 2) != number_format($exif_ar, 2)) { |
| 3430 |
|
$this->DebugMessage('not using EXIF thumbnail because $source_ar != $exif_ar ('.$source_ar.' != '.$exif_ar.')', __FILE__, __LINE__); |
| 3431 |
|
break; |
| 3432 |
|
} |
| 3433 |
|
if ($this->w && ($this->w != $this->exif_thumbnail_width)) { |
| 3434 |
|
$this->DebugMessage('not using EXIF thumbnail because $this->w != $this->exif_thumbnail_width ('.$this->w.' != '.$this->exif_thumbnail_width.')', __FILE__, __LINE__); |
| 3435 |
|
break; |
|
@@ 3776-3779 (lines=4) @@
|
| 3773 |
|
} |
| 3774 |
|
$source_ar = $this->source_width / $this->source_height; |
| 3775 |
|
$exif_ar = $this->exif_thumbnail_width / $this->exif_thumbnail_height; |
| 3776 |
|
if (number_format($source_ar, 2) != number_format($exif_ar, 2)) { |
| 3777 |
|
$this->DebugMessage('not using EXIF thumbnail because $source_ar != $exif_ar ('.$source_ar.' != '.$exif_ar.')', __FILE__, __LINE__); |
| 3778 |
|
break; |
| 3779 |
|
} |
| 3780 |
|
} |
| 3781 |
|
|
| 3782 |
|
// EXIF thumbnail exists, and is equal to or larger than destination thumbnail, and will be use as source image |