[PR #600] [MERGED] fix: fix preserve-aspect-ratio option and add tests #1207

Closed
opened 2026-03-15 15:58:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/flyimg/flyimg/pull/600
Author: @sadok-f
Created: 1/12/2026
Status: Merged
Merged: 1/12/2026
Merged by: @sadok-f

Base: mainHead: issue#599


📝 Commits (1)

  • 46a0c71 fix: fix preserve-aspect-ratio option, add tests to cover that, closes #599

📊 Changes

2 files changed (+50 additions, -2 deletions)

View changed files

📝 src/Core/Processor/ImageProcessor.php (+14 -2)
📝 tests/Core/Processor/ImageProcessorTest.php (+36 -0)

📄 Description

fix preserve-aspect-ratio option, add tests to cover that, closes #599


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/flyimg/flyimg/pull/600 **Author:** [@sadok-f](https://github.com/sadok-f) **Created:** 1/12/2026 **Status:** ✅ Merged **Merged:** 1/12/2026 **Merged by:** [@sadok-f](https://github.com/sadok-f) **Base:** `main` ← **Head:** `issue#599` --- ### 📝 Commits (1) - [`46a0c71`](https://github.com/flyimg/flyimg/commit/46a0c71176de951bdd035ce3e969055257364eab) fix: fix preserve-aspect-ratio option, add tests to cover that, closes #599 ### 📊 Changes **2 files changed** (+50 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/Core/Processor/ImageProcessor.php` (+14 -2) 📝 `tests/Core/Processor/ImageProcessorTest.php` (+36 -0) </details> ### 📄 Description fix preserve-aspect-ratio option, add tests to cover that, closes #599 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 15:58:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flyimg#1207
No description provided.