Search found 11 matches

by Seneral
Wed Jun 15, 2016 2:38 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Re: Extend NConvert with a custom format

Any updates? Or should I search for a different way?
by Seneral
Tue Jun 07, 2016 2:25 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Re: Extend NConvert with a custom format

Sorry for not being clear. Source(s): Theoretically any grayscale image (one component) or image which is visually grayscale (R,G and B components but R=G=B). It'd be no specific format, but in my use case PNG. Bits per component reach from 8Bit over 16Bit and 24Bit to 32Bit. So for example I have a...
by Seneral
Mon Jun 06, 2016 2:31 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Re: Extend NConvert with a custom format

what do you have as source? A 16bits image? Up to 32Bits, though most are 16-24-Bit PNGs. I'm pretty sure NConvert does support them already, so whats missing is only the raw option, because I thought NConvert has an internal format that the converter converts to and from there is able to convert t...
by Seneral
Fri Jun 03, 2016 10:08 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Re: Extend NConvert with a custom format

sry - just realized it was a double post
by Seneral
Fri Jun 03, 2016 10:00 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Re: Extend NConvert with a custom format

in reading or writting? Preferrably both, but for my use case only write. Reading is actually very simple, there is even an API call for this in Unity. But reading is really important for Unity in general (terrain exports only to 16Bit raw, so to use it we'd need read, too), but for my specific use...
by Seneral
Fri Jun 03, 2016 1:04 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Re: Extend NConvert with a custom format

xnview wrote:yes NConvert support raw file but only 8bits

Code: Select all

-corder ... -ctype .... -size ...
Ok, cool, any chance you're going to support 16Bit? Because as I said, that's the only real advantage for Unity users over any other file type;)
by Seneral
Wed Jun 01, 2016 4:49 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Re: Extend NConvert with a custom format

houps the download was not good :) So you can import RAW file, but currently only 8bits You mean, in the software I'm using? No, raw is a fully featured file format in Unity and we can use it fine - but other common formats like png are only supported in 8Bit... So we would need a converter to conv...
by Seneral
Tue May 31, 2016 6:49 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Re: Extend NConvert with a custom format

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 ...
by Seneral
Tue May 31, 2016 3:23 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Re: Extend NConvert with a custom format

xnview wrote:your sample has not a file size of 512x512x2bytes?
Good point, but I'm confused now. I did not work with the file format as closely in my tools yet, I'll ask a developer which has used it in it's tools. I hope to give a detailed explanation on whats going on this evening:)
by Seneral
Mon May 30, 2016 4:11 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Re: Extend NConvert with a custom format

For reference, here is a simple 512x512 16-Bit .raw perlin composition:)
by Seneral
Mon May 30, 2016 3:53 pm
Forum: NConvert
Topic: Extend NConvert with a custom format
Replies: 17
Views: 3429

Extend NConvert with a custom format

Hello, I'd like to add support for a RAW format (which really only includes raw data) used by WorldMachine and Unity for heightmaps. The format is very simple fortunately, it is the plain 8-Bit, 16-Bit or even 32-Bit data written out as binary.The filesize alone can be used to calculate the exact si...