Quantcast
Channel: XnView Software
Viewing all articles
Browse latest Browse all 4990

Extend NConvert with a custom format

$
0
0
by Seneral (Posted Tue May 31, 2016 6:49 pm)
xnview wrote:
Seneral wrote:For reference, here is a simple 512x512 16-Bit .raw perlin composition:)

your sample has not a file size of 512x512x2bytes?

Ok, the specification actually is correct. But, windows and some other operating system treat kilobytes as 1024 bytes rather than 1000 (see wikipedia) so if you see exactly 512kB, here is what happens:
512*512 * 2Bytes = 524.288 Bytes => 524.288 Bytes / 1024 = 512kb
for operating systems using 1000Bytes/kB it's then obviously roughly 524kB.
So the specification mentioned above is correct:)

Read Main Topic

Viewing all articles
Browse latest Browse all 4990

Trending Articles