I have a number of JPEG pictures which I would like to scale down. Another requirement is that the file size should not be larger than say 300kByte. Is that possible, please help me with an example =)
ImageMagickはコマンドラインから画像を編集したり出来るライブラリですが これを使って、テスト用の画像を大量に作成する方法 作るに当たって 画像を見ただけでどの画像なのかを識別できる 簡単に画像を生成できる という事に重点をおいてみます。 ImageMagickは、convertというコマンドで実行する事が出来ます。 画像のサイズを指定するときは -size 128×128 というオプションを付けます。 画像の背景色を指定するときは xc:yellow というオプションを付けます。 yellowの部分は、RGB指定でも出来ます。 ここまでのオプションで、画像を書き出す場合 convert -size 128x128 xc:yellow test.png で画像が作成されます。 これだけだと、画像の識別が出来ないので、文字を書き込んでみます。 フォントサイズを指定するオプション -p
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く