image loading

2017-11-22 Thread Stephen R. van den Berg @ Pike developers forum
No, the email export does not work. I'm reading this (rather unpleasantly) through: https://jskom.osd.se/

image loading

2017-11-22 Thread Martin Nilsson (Coppermist) @ Pike (-) developers forum
It is possible to convert between RGB888 and image object using the "raw" creator method and cast to string. (string)Image.Image(1,1,"raw","\277\0\0"); (Is the email export working again?)

image loading

2017-11-22 Thread Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
You can use Image.X.decode_truecolor() to convert the raw data to an Image object. Also, there is Image.X.decode_pseudocolor() which can do the palette lookup for you if you create an Image.Colortable object from the palette data.

image loading

2017-11-21 Thread Lance Dillon
So I'm working on a program to decode .pic files from old grasp .gl files.  I have code to extract the parts of the .gl file into individual files.  There is a script file, plus a bunch of images, either in .pic or .clp format.  I'm only working on decoding the .pic files. It supports multiple b