
ウィキペディアの記事内で使用されている有益な図や画像のなかには、実際はPNGフォーマットの方が適しているのに、 JPEGフォーマットで保存されているものが時々あります。 Some helpful diagrams and images being used in a Wikipedia article is actually PNG is the preferred format but, when the JPEG is what you save in many formats. JPEG形式は色が流動的に変化し多段階の色調で表現される写真のような画像に適しています。 JPEG format is suitable for photo-like images that are represented by multi-level tone color changing fluid. それに対し、PNGは比較的色数が少なく、色の変化や色の境界がはっきりした国旗・表・地図等の画像に適しています。 In contrast, PNG is a relatively small number of colors, suitable for a clear picture of the flag and map the boundaries of the color table and color changes.
そこで、JPEGからPNGへ変換する必要が生じますが、JPEGからPNGへ自動的に変換するだけでは、きれいな画像は作れません。 Therefore, JPEG arises from the need to convert to PNG, JPEG from just automatically converted to PNG is the Can not create clean images. 元のJPEGファイルよりも容量が大きく、質も落ちてしまうことが多々あります。 Higher capacity than the original JPEG files that many people would have even worse quality. しかし、使い慣れているグラフィックソフトウェアなどがあれば、うまくPNGへの変換ができます。 However, if you have any other graphics software are familiar, well you can convert to PNG.
数千色以上の画像を保存する場合(写真のように、シェードとトーンのきめ細かいグラデーションがあるのが典型的)、JPEGファイルとして保存するのが無難です。 If you want to save thousands of colors or images (like photos, typically have a clearer picture of the gradient shades and tones), JPEG is always better to save a file. JPEGの圧縮方法は、自然の景色にあるような階調度と柔らかいエッジを活用することができるので、そういった画像を保存するのに最適です。 How JPEG compression is that it can take advantage of such gradients and soft edges in the view of nature, ideal to store these images.
一方、PNGは劣化のない圧縮方法を用いており、各ピクセルごとに描かれているものを、そのまま正確に保存することができ、グラフや、国旗などの旗、地図、漫画などのような画像を保存するのに非常に適しています。 However, PNG is lossless compression method used, what is portrayed in each pixel can be stored exactly as, and graphs, banners and flags, maps, cartoons and other images such very suitable for storing. 鋭いエッジで、広い範囲に渡り単一な色で描かれている画像に対しての圧縮に最適なのです。 The sharp edge is ideal for compression of images is drawn for a single color over a wide area.
それに加え、PNGフォーマットは非常に汎用的でもあります。 In addition to that, PNG format is also very generic. PNGを True Color モードで保存した場合には、ほとんどの人間の眼で識別できないほど多くの色数が含まれていて、JPEGよりも細かいディテールのある画像を保存することもできます。 PNG to "True Color" mode when you save, they contain so many colors the human eye can not identify with most, JPEG images can be saved with more fine detail. ただし、True ColorのPNGで保存した場合、そのような画像を保存する最適な圧縮方法ではないため、容量の大き過ぎるファイルになってしまいがちです。 However, True Color When you save a PNG, because it is not the best compression method to store such images, files tend to become too big for its capacity.
単にJPEGをPNGに自動変換した場合、このようなTrue Color PNGが作成され、サイズの大きなファイルができてしまうことが多いです。 If you just automatically converts JPEG to PNG, these True Color PNG is created, you can often get a large file. そのようなPNGは、アップロードを行う前にインデックス化したり、インデックスパレットモードで変換するべきです。 PNG is such, or of the index before the upload, you should convert Indekkusuparettomodo. ほとんどの画像編集ソフトでは、True Colorモード(「フルカラー」や「 RGB 」モードとも呼ばれる)からインデックス画像に加工した時に使用する色数を決め、変換することができます。 Most image editing software, True Color mode ( "full color" or "RGB" mode is also called) to determine the number of colors used from the index when processing an image can be converted. どれくらいの色数を使用するべきかは、画像に依存します。 Or how to use the number of colors is dependent on the image. インデックス画像にするには256色以下でなくてはならず、しばしば16色、もしくはそれ以下の色数に指定した方がうまく画像を加工できることがあります。 Index images to 256 colors but not less often 16 colors, image processing may well be those specified in the number of colors or less. 「エラー補正」や「 ディザリング 」機能を用いることでよりよい加工ができることもあるでしょう(これらのオプションを使用したくないかもしれませんが)。 "Error correction" and "dithering" You will be able to use the processing capabilities and better (might not want to use these options). 自分の希望通りの加工ができるまで、何度も試してみるべきです。 Until you have your desired processing, and should try several times. ツールによっては、ファイル内の色数をカウントする機能もあります。 The tool has the ability to count the number of colors in the file.
なんらかの理由で国旗のような画像をJPEGファイルとして保存してしまった場合、肉眼でも同じに見えるような近接している色が、不要に含まれてしまっていることが多々ありますが、実際のデータ上はこういった近接している色もすべて異なった色として記録されています。 Flag image as JPEG for some reason if you've saved as a file, the colors are as close to the naked eye looks the same, have too many that are included in the people you need, the actual data are recorded as on all different colors and these colors are close. 通常のPNGの圧縮方法では、これらの色の相違を必要以上に保持してしまうので、PNGで保存し直しても希望通りにファイルサイズを縮小できない可能性があります。 PNG compression is the usual way, so they hold more than necessary for these differences in color, PNG file size may be reduced as desired and re-save. それを防ぐためには、以下に記される方法で、実際に必要としている色数以上を含まないように、確認することが必要です。 To prevent it is to be written in the following manner, without the least number of colors that are actually needed, you need to check.
ここでは、ビットマップ編集を行う利用者の多くが使用している画像編集ソフト、 GIMPおよびAdobe Photoshopを使用しての変換方法を紹介します。 Here, the image editing software you are using a lot of users to edit bitmap, GIMP and Adobe Photoshop will show you how to use the translation.
このような作業を行うことによって、元のJPEG画像よりもファイルサイズが小さく(これにより閲覧者側の画像ダウンロード時間も短縮される)、より鮮明でクリアな画像(JPEGではよくぼやけたエッジとにじみが、本来の色がスムーズである領域に生じてしまうことが多い)へ加工することができるでしょう。 By doing such work, the file size smaller than the original JPEG image (download time will be reduced by this image viewer side), from the crisp, clear images (JPEG bleeding edge and often blurred in is often thought not having a smooth area of the original color) will be able to be processed.
もちろん、グラフィックソフトで16色を指定し保存し直すだけで、上記の作業を短時間で行い、同じ加工結果が得られることもあります。 Of course, only 16 re-save the graphic software to specify the color of the above tasks quickly and you can get the same processing results. しかし、対象の画像にJPEG圧縮特有の染みやモアレができている場合、色数を指定するだけではうまくいきません。 However, if the images can be JPEG moire specific stains and compression, just specifying the number of colors will not work.
| |||||||||||||||||||||||
