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

API: support sending original image file without JPEG compression #560

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

d1ff
Copy link

@d1ff d1ff commented May 25, 2022

I have some automated tasks, done with COCO Annotator API. Some of them need to download original image file, without compressing image each time I access it. So I've added shortcut in /api/images/{id} method, so it can take optional parameter original (which is set to False by default. If original == True, than any manipulation with image data is bypassed and original file is sent to response stream. Hope it's useful.

TakanoTaiga added a commit to TakanoTaiga/coco-annotator that referenced this pull request May 22, 2024
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

Successfully merging this pull request may close these issues.

None yet

1 participant