Skip to content

Show estimated GIF size in the editor#1277

Open
apples-kksk wants to merge 2 commits into
wulkano:mainfrom
apples-kksk:estimate-gif-size-editor
Open

Show estimated GIF size in the editor#1277
apples-kksk wants to merge 2 commits into
wulkano:mainfrom
apples-kksk:estimate-gif-size-editor

Conversation

@apples-kksk
Copy link
Copy Markdown

This adds a small GIF ~x MB estimate beside the export controls when GIF is selected.

The estimate samples up to the first 2 seconds of the selected range through the existing GIF conversion/compression path, then scales that size to the selected duration. If the editor options change, the previous in-flight sample is canceled so stale estimates do not pile up.

Checked:

  • yarn build-main
  • ./node_modules/.bin/tsc --project renderer/tsconfig.json --noEmit
  • npx --yes -p node@16 -c 'yarn lint' (existing warnings only)\n- yarn test:main\n- npx --yes -p node@16 -c 'yarn build-renderer'\n\nCloses Show estimated GIF size in the editor window #172

@apples-kksk
Copy link
Copy Markdown
Author

The CircleCI build did not reach the project steps. CircleCI rejected the current macOS executor before checkout with:\n\n\nJob was rejected because resource class m4pro.medium, image xcode:13.4.1 is not a valid resource class\n\n\nThat looks like the repository CircleCI image/resource-class configuration rather than a failure in this change. The local checks listed in the PR body completed successfully.

@apples-kksk apples-kksk force-pushed the estimate-gif-size-editor branch 4 times, most recently from 1a78019 to ae8cefb Compare May 10, 2026 17:05
@apples-kksk apples-kksk force-pushed the estimate-gif-size-editor branch from ae8cefb to eb2eaff Compare May 10, 2026 17:17
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.

1 participant