Skip to content

Conversation

@RTnhN
Copy link
Contributor

@RTnhN RTnhN commented Nov 24, 2024

It is really handy to be able to convert an animated gif to a still image. Most of the time, this just involves grabbing the first frame of the gif. This change implements that. In the future, the option to be able to select what frame to get should maybe be added, but for now this covers maybe 90% of the use cases for gif to img.

Another problem that I had that was also in #527 was that IOS with their HEIC file format did not convert. Only newer versions of ImageMagick fixed the problem, so I updated to 14.2. This required casting some variables from int to uint though.

I installed it after building, and it works great.

Let me know what you think or if you have any suggestions for this. Thanks!

Closes #433
Closes #115
Closes #527
Closes #493
Closes #512
Closes #543

Heic images from IOS 18 cause problems for earlier versions of ImageMagick.net.
dlemstra/Magick.NET#1753

This updates the library to 14.2.0. The library changed a bunch of int to uint, so this also
casts all of the ints to uints.
@RTnhN RTnhN changed the title Add gif to image support Add gif to image support and update imageMagick to 14.2 Dec 10, 2024
@nsutcliffe
Copy link

@Tichau any chance of including this PR? It includes a fix for the latest iOS :)

@RTnhN
Copy link
Contributor Author

RTnhN commented Dec 28, 2024

@nsutcliffe In the meantime, I created a release on my fork if you want to use it: https://github.com/RTnhN/FileConverter/releases/tag/2.0.3

@Tichau Tichau merged commit 6848eb6 into Tichau:integration Feb 14, 2025
@Tichau Tichau added this to the 2.1.0 milestone Feb 14, 2025
@Tichau
Copy link
Owner

Tichau commented Feb 14, 2025

Thanks for the contribution <3

@RTnhN
Copy link
Contributor Author

RTnhN commented Feb 14, 2025

Thanks for the contribution <3

You're welcome! Thanks for making such an awesome tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment