mirror of
https://github.com/Tichau/FileConverter.git
synced 2026-11-22 02:21:51 +01:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5dce6c0980 | ||
|
|
afa3cacbcd | ||
|
|
800880a1d6 | ||
|
|
e21f9e8a8b | ||
|
|
6c157a411f | ||
|
|
1d8c42dac8 |
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
|
||||||
|
|||||||
Reference in new issue
Block a user