binaryDecode limit 25000 ?

2008-10-13 Thread run...@animabit.de
Hello 

I just run into a problem using binaryDecode on 2.9:

A function for converting jpg into rtf as follows only worked with very small 
images:

export image 1 of group inhalt to bilddaten as JPEG
get binaryDecode(H*,bilddaten,transfer) 
put {\rtf{\pict\jpegblip\picwgoal874\pichgoal1121   cr into header
put cr  }  cr  } into footer
put header  transfer  footer into rtf
return rtf

Checking the details I found that
get binaryDecode(H25000,bilddaten,transfer) 
did work, but not 
get binaryDecode(H5,bilddaten,transfer) 

Is there a limit for binaryDecode near 25000? Can I do multiple binaryDecodes 
of chunks of the jpg-data in bilddaten?

Regards, Franz
Mit freundlichen Grüßen
Franz Böhmisch

[EMAIL PROTECTED]
http://www.animabit.de
GF Animabit Multimedia Software GmbH
Am Sonnenhang 22
D-94136 Thyrnau
Tel +49 (0)8501-8538
Fax +49 (0)8501-8537
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: binaryDecode limit 25000 ?

2008-10-13 Thread Mark Smith
Franz, binarydecode seems to be a little picky about the number of  
bytes you tell it about, so in this case, you might do better with


get binarydecode(H*, bilddaten, transfer)

Best,

Mark

On 13 Oct 2008, at 15:54, [EMAIL PROTECTED] wrote:


Hello

I just run into a problem using binaryDecode on 2.9:

A function for converting jpg into rtf as follows only worked with  
very small images:


export image 1 of group inhalt to bilddaten as JPEG
get binaryDecode(H*,bilddaten,transfer)
put {\rtf{\pict\jpegblip\picwgoal874\pichgoal1121   cr into header
put cr  }  cr  } into footer
put header  transfer  footer into rtf
return rtf

Checking the details I found that
get binaryDecode(H25000,bilddaten,transfer)
did work, but not
get binaryDecode(H5,bilddaten,transfer)

Is there a limit for binaryDecode near 25000? Can I do multiple  
binaryDecodes of chunks of the jpg-data in bilddaten?


Regards, Franz
Mit freundlichen Grüßen
Franz Böhmisch

[EMAIL PROTECTED]
http://www.animabit.de
GF Animabit Multimedia Software GmbH
Am Sonnenhang 22
D-94136 Thyrnau
Tel +49 (0)8501-8538
Fax +49 (0)8501-8537
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution