お世話になっております。
> MRG出力の画像のファイルサイズがHighResShotより大きい原因はなんでしょうか?
圧縮フォーマットが異なるためであると考えられます。
HighResShot では ZIP であるのに対し、
MRG(MRQ)の場合はデフォルトで PIZ という方式になっています。
いずれも Lossless であり、画像の内容によって圧縮率が異なります。
内容によってはファイルサイズの大小関係は逆転する可能性があります。
> MRGのEXR圧縮設定について
> ”圧縮”と”Lossless Compression”を同時に有効にした時、”圧縮”の設定内容が優先に採用される認識が正しいでしょうか
パス毎に Lossless を使用すべきかどうかが判定され、LosslessCompression / Compression のいずれかが選択されます。
ポストプロセスで UseLosslessCompression をチェックした場合や、オブジェクトIDを出力する場合に LosslessCompression が選択されるようです。
[Image Removed]
> 画像の劣化を抑えつつ、容量を削減したい場合、推奨のMRGのEXR圧縮方法またはほかの設定方法があれば教えていただいてもいいでしょうか
圧縮率や画質(Losslessでない場合)が表示内容によって変わりますので、一概に申し上げることはできかねます。
出力された画像を実際にご確認いただき、支障のない範囲で比較的容量を削減できるものを選択して頂くくらいかと思います。
各圧縮フォーマットの特徴について EEXRCompressionFormat の定義部分にコメントが記述されていますので、参考になるかもしれません(以下に引用します)。
// Exr compression format options. Exactly matches the exr library Imf::Compression enum.
UENUM(BlueprintType)
enum class EEXRCompressionFormat : uint8
{
/** No compression is applied. */
None = 0,
/** This compression method is fast, and works well for images with large flat areas but yields worse results for grainy images. Lossless. */
RLE = 1,
/** This compression method is similar to ZIP but compresses only one image row at a time. Lossless. */
ZIPS = 2 UMETA(DisplayName = "ZIP (1 scanline)"),
/** Good compression quality for images with low amounts of noise. This compression method operates in in blocks of 16 scan lines. Lossless. */
ZIP = 3 UMETA(DisplayName = "ZIP (16 scanlines)"),
/** Good compression quality for grainy images. Lossless.*/
PIZ = 4,
/** This format only stores 24 bits of the 32 bit data and has subsequently a significant loss of precision. This method is only applied when saving in FLOAT color depth. HALF and UINT remain unchanged. Lossy. */
PXR24 = 5,
/** This compression method only applies to images stored in HALF color depth. Blocks of 4×4 pixels are stored with using only 14 byte each (instead of the 32 byte they would normally need). Each block is compressed to the exact same size. Different images with the same dimensions require the same storage space regardless of image content. Lossy. */
B44 = 6,
/** A modified version of B44. If all pixels in a 4*4 block have the same color it will use only 3 instead of 14 byte. */
B44A = 7,
/** Lossy DCT-based compression for RGB channels. Alpha and other channels are uncompressed. More efficient than DWAB for partial buffer access on read in 3rd party tools. */
DWAA = 8,
/** Similar to DWAA but goes in blocks of 256 scanlines instead of 32. More efficient disk space and faster to decode than DWAA. */
DWAB = 9,
/** High-Throughput JPEG2000 (HTJ2K), 256 scanlines */
HTJ2K256 = 10,
/** High-Throughput JPEG2000 (HTJ2K), 32 scanlines */
HTJ2K32 = 11,
Max UMETA(Hidden)
};
よろしくお願いいたします。
[Attachment Removed]