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

Add functionality to show a cropped preview of an image attached to a post #495

Open
gone-still opened this issue Dec 14, 2024 · 1 comment

Comments

@gone-still
Copy link

When attaching an image to a post using the bluesky web client, there’s an option to crop the preview image that will appear in the post, showing a sub-region of the full image. Once the image is clicked, the full version is displayed.

Can a similar “crop preview” functionality be added? Maybe by defining a bounding rectangle (sub matrix) of the original image?

@MarshalX
Copy link
Owner

I do not think that it would be part of the atproto SDK someday. Pillow lib will fit perfectly for your needs

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