2014年3月10日のブックマーク (3件)

  • Help:JPEG画像を減色しPNG画像として保存する方法 - Wikipedia

    ウィキペディアの記事内で使用されている有益な図や画像のなかには、実際はPNGフォーマットの方が適しているのですが、JPEGフォーマットで保存されているものが時々あります。JPEG形式は色が流動的に変化し多段階の色調で表現される写真のような画像に適しています。それに対し、PNGは比較的色数が少なく、色の変化や色の境界がはっきりした国旗・表・地図などの画像に適しています。 そこで、JPEGからPNGへ変換する必要が生じますが、JPEGからPNGへ自動的に変換するだけでは、きれいな画像は作れません。元のJPEGファイルよりも容量が大きく、質も落ちてしまうことが多々あります。しかし、使い慣れているグラフィックソフトウェアなどがあれば、うまくPNGへの変換ができます。 簡単な図形で表せるとか、縦横軸のある図表では、Wikipedia:SVGへの乗り換えも参照してみてください。こちらは内部にテキストが

    proxy0721
    proxy0721 2014/03/10
  • ImageMagick > convert > typeオプション > TrueColor(TrueColorMatte)

    -typeにTrueColorを指定すると、8bit true color(RGB)に変換してくれる satoshi@debian:/var/www/nginx-default$ convert -type TrueColor baz.png bar.png satoshi@debian:/var/www/nginx-default$ ll b*png -rw-r--r-- 1 satoshi satoshi 1338 2009-09-05 17:44 bar.png -rw-r--r-- 1 satoshi satoshi 745 2009-09-04 21:57 baz.png satoshi@debian:/var/www/nginx-default$ file baz.png bar.png baz.png: PNG image, 76 x 76, 1-bit grayscale,

    proxy0721
    proxy0721 2014/03/10
  • ImageMagick | Command-line Options

    Below is list of command-line options recognized by the ImageMagick command-line tools. If you want a description of a particular option, click on the option name in the navigation bar above and you will go right to it. Unless otherwise noted, each option is recognized by the commands: magick and mogrify. Adaptively blur pixels, with decreasing effect near edges. A Gaussian operator of the given r

    ImageMagick | Command-line Options
    proxy0721
    proxy0721 2014/03/10