Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GD を使用して画像をトリミングしたいのですが、正方形だけでなく、特定の形状に合わせてトリミングしたいと考えています。
これは可能ですか?
これを行う1つの方法は、透明なアルファチャネルを含む、目的の正方形サイズのマスクを作成することです。そして、それを元の画像の上に置くと、円を切り抜くことができます。