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

iOSでアップロードできる画像の画素数の上限をなくす #4302

Closed
cp-20 opened this issue Jun 17, 2024 · 0 comments · Fixed by #4382
Closed

iOSでアップロードできる画像の画素数の上限をなくす #4302

cp-20 opened this issue Jun 17, 2024 · 0 comments · Fixed by #4382
Labels
enhancement New feature or request

Comments

@cp-20
Copy link
Contributor

cp-20 commented Jun 17, 2024

現在の実装ではキャンバスのピクセル数の限界である 16777216 画素を超えるとエラーが出るようになる。

該当の実装:

const cannotResizeWhenIOS = ({ width, height }: Readonly<Dimensions>) =>
iOSFlag && width * height > 16777216

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

Successfully merging a pull request may close this issue.

1 participant