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

feat: editor endpoints #11658

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat: editor endpoints #11658

wants to merge 1 commit into from

Conversation

jrasm91
Copy link
Contributor

@jrasm91 jrasm91 commented Aug 8, 2024

Add a server endpoint to create assets from edits. For example,

{
  id: asset.id,
  edits: [
    { action: 'adjust', brightness, saturation, hue, lightness },
    { action: 'crop', region: { top, left, width, height },
    { action 'rotate', angle: 90 },
  ]
}

(basically a wrapper around sharp, with the output file being added as a new asset for the caller)

@jrasm91 jrasm91 force-pushed the feat/server-editor-endpoints branch from 2dffef6 to 82f05e9 Compare August 8, 2024 19:46
@stephen304 stephen304 mentioned this pull request Nov 22, 2024
3 tasks
@foobarbecue
Copy link

I would really love to be able to use this feature. Is there anything I can help with? I'm new to immich and have coded in lots of languages but not dart. Am willing to test.

@aronsky
Copy link

aronsky commented Jan 14, 2025

I'd just like to add that another use-case would be for transferring backups from Google Photos. When an image is edited in Google Photos, only the edited version is shown in the library (at least, in certain conditions), though the original is still available for download. In the takeout archive, both the original and the edited image are present. I would like to import such pairs into Immich and be able to somehow instruct Immich to only show the edited copy, but to provide the option to get the original, if I so desire.

Not sure this is the right place to suggest this, but I came here from #11074 - and the server-side part of image editing sounded most relevant.

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

Successfully merging this pull request may close these issues.

3 participants