Forum: Poser Technical


Subject: RSR to Png specs

jdebroy opened this issue on Nov 10, 2006 · 27 posts


kuroyume0161 posted Wed, 22 November 2006 at 1:45 PM

I already have the resource file format from Apple.  That wasn't the problem. The problem was setting the RSR data properly.  I've seen the format enough to know that it can get complicated (check out some of the larger thumbnail RSR files and see all of the spurious other resources in the file (fonts and such) - it can get complicated to traverse as Dizzi noted).  The main problem was what data to include and set (the 'Start of Resource Data' section of the RSRHeader array is very important and NOT part of the Resource file format - it is part of the PICT file format or the PICT resource - not sure which).

As you can plainly see, it now works (or the screencap is a world-wide conspiracy!) ;D

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone