Forum: Poser - OFFICIAL


Subject: The RSR Thumbnail format revealed!

XFX3d opened this issue on Nov 13, 2005 ยท 83 posts


kawecki posted Mon, 14 November 2005 at 12:38 PM

I have the RSR format and it was not difficult to discover it. The only use that I had for a converter is to convert Poser5 png thumbs or to create thumbs with images that use transparencies. The program that used before was a small Poser utility that converted pct to rsr. P3do that a lot of things that I don't need and have my own viewers, and the very old version that I have failed to convert properly many thumbs. One day I decided to do a simple programs, easy to use and with batch conversion, so I needed to know the rsr format, I was not able to foumd anywhere this format so I had the following alternatives: 1) Email Curious Lab, probably they will not answer of give me the format. 2) Try to discover who made the pct to rsr converter and try to contact him. 3) Email Yarp, he use it in a comercial program, probably will not give me, but I also could try to negociate some exchange. 4) Discover by myself, and this what I did and is was easy to do it. - It was an old format, so the data must be in raw format or a simple compression algorithm. - The key was the pct to rsr convertor, why this guy used a strange pct format as input, he must have done something very simple to convert. There was a big probability that rsr was a pct renamed. I looked the hex code of pct and the converted rsr and discovered that in spite not were identical both data was almost equal with exception of the headers. I downloaded pict2 format specifications and so discovered the rsr header, the data is the same as pict with RLE encoding. To do rsr to pct or pct to rsr converter is something very easy, but I don't want pct, I want png! Png format is known, documented and pnglib is open source, so a png to rsr would be an easy task, it wasn't! I spend one day to convert bmp to rsr and more than a weak trying to do a png reader, png got me crazy! Png is well documented, but there were features that were nothing clear in the documentation and pnglib structure that is a general structure was not something that fitted my needs. The problem was not rsr, the problem was png! Anyway, it's done.

Stupidity also evolves!