[futurebasic] Re: [FB] 30 pict resources

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2008 : Group Archive : Group : All Groups

From: Markus Binder <markus.binder@...>
Date: Sat, 22 Mar 2008 10:55:42 +0100
Dear Robert,

my PICT files are very small. They are around 30 of them and each is  
about 52 kilobytes small. All pictures are stored in seperate pict- 
resources. The problems begin exaclty when I activate the 30. pict- 
resource in my source code. I have really no idea what´s going  
wrong! :-(

Am 22.03.2008 um 10:49 schrieb Robert Purves:

>
> Markus Binder wrote:
>
>> I am wiriting a Boulder Dash clone for the Mac with FBasic.  
>> Everything went very well - until now. Since I like to add the 30.  
>> pict-resource to the program (in the same way as I did with all the  
>> other pict-resources too) the FBCompiler crashes and the FBtoC  
>> compiler - which doesn´t crash - has also trouble with more than 29  
>> pict-resources. why?
>
> The maximum size of a resource fork is 16 MB. Perhaps you are  
> exceeding the limit. If so, consider storing your images as separate  
> files instead of stuffing them all into one file. Also consider  
> saving the images in PNG format instead of PICT. PNG has very  
> effective lossless compression for bitmap images, typically 1/4 -  
> 1/8 the size of the corresponding PICT.
>
> Robert P.
>
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...