問題タブ [python-imageio]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - imageio - ValueError: モード 'i' で指定されたファイルを読み取るための形式が見つかりませんでした
一連の SVG 画像 (から生成matplotlib
) があり、それらを GIF 画像に結合したいと考えています。
この質問を読んだので試してみimageio
たのですが、一部で上がりValueError: Could not find a format to read the specified file in mode 'i'
ましたimread(str(i)+'.svg')
。これを修正する方法は?
python - JPEG ではないグレースケール画像
このようなグレースケール画像を作成しました
輝度は [0, 255] の要素です
imageioを使用して画像を保存しました
は/valid_path/img.jpg のoutput_path
ようなものです
ここで、グレースケール イメージをロードし直します。
しかし、私が得るのは構文エラーです。
形式を指定しないと、別のエラーが発生します。
なんで?ありがとう