Compare commits

6 Commits
Author SHA1 Message Date
Adrien Allard 5dce6c0980 Merge pull request #807 from 0xyo/fix/784-rotate-image-direction
Fixes: Rotate left/right image presets rotated images in the wrong di…
2026-10-19 17:51:23 +02:00
Adrien Allard afa3cacbcd Merge pull request #699 from bharatvansh/fix/upgrade-service-bugs
Fix bugs in UpgradeService
2026-10-19 17:46:53 +02:00
0xyo 800880a1d6 Fixes: Rotate left/right image presets rotated images in the wrong direction (issue #784).
ImageMagick rotates clockwise for positive angles, but File Converter's
rotation convention (video path: 90° -> ffmpeg transpose=2, counter-clockwise,
and the preset editor tooltip "90° counter clockwise rotation") expects
positive angles to rotate counter-clockwise. Negate the angle so image
rotations match video rotations and the preset names.
2026-10-17 11:53:13 +01:00
Ayush e21f9e8a8b Fix bugs in UpgradeService: handle null task and correct BaseURI reference 2026-02-15 00:08:46 +05:30
Adrien Allard 6c157a411f feat: reactivate auto upgrade 2026-02-14 00:02:22 +01:00
Adrien Allard 1d8c42dac8 Chore: update readme. 2026-02-13 23:33:39 +01:00
2 changed files with 9 additions and 2 deletions

No files matched your search

@@ -177,7 +177,9 @@ namespace FileConverter.ConversionJobs
{ {
Debug.Log($"Apply rotation: {rotateAngleInDegrees}°."); Debug.Log($"Apply rotation: {rotateAngleInDegrees}°.");
image.Rotate(rotateAngleInDegrees); // ImageMagick rotates clockwise for positive angles, the app expects
// counter-clockwise (video path uses ffmpeg transpose=2 for 90°).
image.Rotate(-rotateAngleInDegrees);
} }
} }
@@ -68,6 +68,11 @@ namespace FileConverter.Services
Diagnostics.Debug.Log($"Failed to check upgrade: {exception.Message}."); Diagnostics.Debug.Log($"Failed to check upgrade: {exception.Message}.");
} }
if (task == null)
{
return null;
}
UpgradeVersionDescription versionDescription = await task; UpgradeVersionDescription versionDescription = await task;
if (versionDescription == null) if (versionDescription == null)
@@ -155,7 +160,7 @@ namespace FileConverter.Services
private async Task<UpgradeVersionDescription> DownloadLatestVersionDescription() private async Task<UpgradeVersionDescription> DownloadLatestVersionDescription()
{ {
#if BUILD32 #if BUILD32
Uri uri = new Uri(Helpers.BaseURI + "version (x86).xml"); Uri uri = new Uri(UpgradeService.BaseURI + "version (x86).xml");
#else #else
Uri uri = new Uri(UpgradeService.BaseURI + "version.xml"); Uri uri = new Uri(UpgradeService.BaseURI + "version.xml");
#endif #endif