問題タブ [gdkpixbuf]

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.

0 投票する
0 に答える
107 参照

gtk - GdkPixbuf : 新しい Pixbuf をインスタンス化せずにデータを変更することは可能ですか?

変更可能なコンテンツを含む Pixbuf が必要です。つまり、適切な速度でフレームを表示するには、非常に高速に更新する必要があります。

Pythonバインディングにはget_pixelsメソッドがあります。それを使用してpixbuf内のデータを更新できるかどうか、およびそれらのコピーのメモリに保存されている元のデータを返すかどうかは不明です。

なにか提案を?