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

Is there a way to load remote LUT? #139

Closed
Parth-Patoliya opened this issue Jul 21, 2021 · 2 comments
Closed

Is there a way to load remote LUT? #139

Parth-Patoliya opened this issue Jul 21, 2021 · 2 comments

Comments

@Parth-Patoliya
Copy link

No description provided.

@muukii
Copy link
Collaborator

muukii commented Jul 22, 2021

Sorry, currently loading from bundle only.
But I will try to make it can load from anywhere.

@muukii
Copy link
Collaborator

muukii commented Jul 22, 2021

I figured out a way to create a filter from LUT that loaded from remote.

  • Load the image for LUT
  • Save it to anywhere you want
  • Get the path to that
let filter = FilterColorCube(
  name: /* name */,
  identifier: /* ensure get a unique identifier*/,
  lutImage: /* create an instance */,
  dimension: 64 /* it's depends on your LUT */
)

https://www.notion.so/muukii/Creating-your-own-filters-LUT-d1942f2f5bcc44d88481d0a0cc4aacb3#b676c5123a0246798c75614dcb5f9f34

ColorCubeStorage.default.filters = [filter]

@muukii muukii closed this as completed Nov 24, 2023
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

2 participants