> If we use the last byte to indicate the number of "extended" data 
> items, we could use much more data,
> 
> <function><data 1><data 2>...<data 6><# extended data items>
> <extended data1><extended data2>...<extended data N>
> 
> For example, the new image function code would look like this,
> 
> <0x1F><image record id><width><height><0x2><bit depth><alt len (N)>
> <alt text char1>...<alt text char N>, where N <= 255
> 
> That would make it possible to use an "unlimited" amount of data...
> 

Sure.  Or we could just use 24 bits for the width and height (12 bits
each), and include both the bit-depth and the alt tag in a slightly
simpler format:

 <0x1F><image record id><3-byte width+height><1-byte depth><1-byte alt tag len>

Bill
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to