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

how to use this with microsoft photos app? #21

Open
megapro17 opened this issue Jan 1, 2022 · 12 comments
Open

how to use this with microsoft photos app? #21

megapro17 opened this issue Jan 1, 2022 · 12 comments

Comments

@megapro17
Copy link

it can open jxl files only if i rename them to jpg. But it's impossible to assign .jxl to microsoft photos, only to old windows photo viewer. There is no jxl option in file associations

@saschanaz
Copy link
Owner

saschanaz commented Jan 1, 2022

There's no third party way to support Photos app, because Microsoft does not provide a public API for that. Only Microsoft can create an extension for now.

@megapro17
Copy link
Author

Photos app can use wic api, if you add .jxl file description into registry, photos can understand these files, i see some registry keys here, but i don't understand how https://github.com/mirillis/jpegxl-wic/blob/main/installator_setup.iss

@saschanaz
Copy link
Owner

The Mirillis one supports Photos? TIL, I can take a look in that case.

@megapro17
Copy link
Author

yes, it says that in readme. thanks in advance

@saschanaz
Copy link
Owner

So I tried installing it, but it doesn't seem to support Photos. I can see no behavior difference from my one, and Photos still does not accept .jxl as-is.

@Razor54672
Copy link

Razor54672 commented Jan 3, 2022

I edited the registry of .jxl key in HKEY_CLASSES_ROOT and added the first two binary values from .jpeg key to .jxl.
This enabled the option to select Microsoft Photos app when using Open With drop down menu (not visible before the registry edit).
However, even after associating the file type, when opened with the Photos app, it just says "There is nothing to show here".

  • Does that mean WIC is not supported by this app?

@saschanaz
Copy link
Owner

saschanaz commented Jan 3, 2022

You mean AppX43hnxtbyyps62jhe9sqpdzxn1790zetc? That does add Photos but somehow it just crash without showing anything. And the .jpg file renaming way actually does not decode the file, it actually just loads the thumbnail cache without loading the decoder.

@Razor54672
Copy link

  • Yup, that one and the one above it.
  • That explains why it was blurry when I zoomed in on it. (when using renaming to jpg method)

@megapro17
Copy link
Author

hmm, seems like i was wrong... I don't know why it's written like this in mirillis repo

@eddiezato
Copy link

There seem to be restrictions that prevent Photos from using third-party wic codecs:

When running in an AppContainer process, which includes all Windows Store apps, WIC will only use Windows-provided components, regardless of whether additional components are installed on the system. App that are not running in AppContainer are not affected.

@itsTyrion

This comment was marked as off-topic.

@saschanaz

This comment was marked as off-topic.

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

No branches or pull requests

5 participants