Skip to content

Feat: add previews - #20

Open
shirokuma222 wants to merge 2 commits into
mainfrom
feat/preview
Open

shirokuma222 wants to merge 2 commits into
mainfrom
feat/preview

Conversation

@shirokuma222

Copy link
Copy Markdown
Contributor

・入力ファイルと変換後ファイルのプレビューが表示されるようにしました。
・あわせて、GIFからPNG/JPEGへの変換が失敗する不具合を直しました。(1フレーム目を画像にするように指定したが、GIFから画像に変換する処理はフレーム指定など改善の余地がありそう。)

プレビューの仕様

  • 静止画:そのまま画像を表示
  • 動画,GIF:rust側のgenerate_thumbnailでffmpegを使って、サムネイル画像で表示(GIFはホバーで再生される)
  • 音声ファイルなど:何も表示されない

shirokuma222 and others added 2 commits September 17, 2026 00:44
Converting an animated GIF to PNG/JPEG failed because FFmpeg tried to
write every frame to the same file.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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