Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM64 #1000

Closed
be5invis opened this issue Mar 10, 2021 · 7 comments
Closed

ARM64 #1000

be5invis opened this issue Mar 10, 2021 · 7 comments

Comments

@be5invis
Copy link

Is your feature request related to a problem? Please describe.

The current ImageGlass only targets X86 and X64, lacking ARM64 support. As .NET6 adding ARM64 support for WinForm, it is possible to support ARM64 platform as well.

Describe the solution you'd like

  • Migrate to .NET 6
  • Target ARM64

Describe alternatives you've considered

Current ARM64 Windows support running x86 application through emulation, but the performance will be greatly reduced due to emulating a JIT language.

@d2phap
Copy link
Owner

d2phap commented Mar 10, 2021

Thanks @be5invis
Migration to .NET 6 is planned for v9.0 which will be released in 2022

@be5invis
Copy link
Author

@d2phap Not sure whether WinForms have plans to backport A64 support to .NET 5. WPF will do that: dotnet/wpf#1817.

@wbsdty331
Copy link

I build ImageGlass v9 on windows arm64 successfully, how about provide arm64 version of ImageGlass? @d2phap

@d2phap d2phap added the v9.0 label Feb 15, 2023
@d2phap d2phap added this to the v9.0 RC milestone Oct 7, 2023
@d2phap
Copy link
Owner

d2phap commented Oct 7, 2023

You can try the ARM64 release of ImageGlass 9.0 RC now, it's built against .NET8.

Note that, I don't have ARM device to test.

@d2phap d2phap closed this as completed Oct 7, 2023
@SituChengxiang
Copy link

image
An Error On ARM Platform. I'm using Windows11 on Snapdragon (TM) 8cx Gen 2 ,OS version 22635.3139

  • Error details:
    ImageGlass.Base: Method 'get_Interlace' in type 'ImageMagick.MagickSettings' from assembly 'Magick.NET-Q16-HDRI-OpenMP-arm64, Version=13.4.0.0, Culture=neutral, PublicKeyToken=2004825badfa91ec' does not have an implementation.
    at ImageGlass.Base.Photoing.Codecs.PhotoCodec.LoadAsync(String filePath, CodecReadOptions options, ImgTransform transform, Nullable'1 token)
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)

@d2phap
Copy link
Owner

d2phap commented Feb 5, 2024

@SituChengxiang

Can you help to verify if these 2 builds work for you?

ImageGlass_9.0.10.201_arm64_1.zip

ImageGlass_9.0.10.201_arm64_2.zip

@SituChengxiang
Copy link

Thanks for replying, however…… neither build arm64_1 nor arm64_2 work well.
I remember that the 9.0 RC version is able to run.
image

ImageGlass Kobe v9.0.10.201 (64-bit, .NET 8.0.1)
Magick.NET Q16-HDRI-OpenMP arm64 netstandard21 13.4.0

  • Error details:

ImageGlass.Base: Method 'get_Interlace' in type ImageMagick.MagickSettings' from assembly 'Magick.NET-Q16-HDRI-OpenMP-arm64, Version=13.4.0.0,
Culture=neutral, PublicKey Token=2004825badfa91ec' does not have an implementation.

at ImageGlass.Base.Photoing.Codecs.PhotoCodec.LoadAsync(String filePath, CodecReadOptions options, ImgTransform transform, Nullable'1 token)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)

(Both reported that, please ignore any defensive or improper expression, English is not my native language).

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

No branches or pull requests

4 participants