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

Support blurhash calculation for /upload #350

Open
girlbossceo opened this issue May 7, 2024 · 0 comments
Open

Support blurhash calculation for /upload #350

girlbossceo opened this issue May 7, 2024 · 0 comments
Labels

Comments

@girlbossceo
Copy link
Owner

Currently we just force it to None

	Ok(create_content::v3::Response {
		content_uri,
		blurhash: None,
	})

We will need to do excessively large image width/height checks to avoid calculating blurhash if a user uploads an extremely large files as a form of denial of service

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

No branches or pull requests

1 participant