Difference between revisions of "image.new"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(Created page with "image.'''new''' is a function that is part of image. {{Since|3.0}} == Syntax == image.'''new'''(image) {| class="wikitable" |- ! Parameter !! Type !! Des...")
 
Line 15: Line 15:
  
 
== Example  ==
 
== Example  ==
<syntaxhighlight>image.new("\007\000\000\000\008\000\000\000\000\000\000\000\014\000\000\000\016\000\001\000'''alalalalalalalal\000\244\000\244al\000\244\000\244al\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244al\000\244\000\244\000\244\000\244\000\244alalal\000\244\000\244\000\244alalalalal\000\244alalalalalalalalalal5")</syntaxhighlight>
+
<tt>image.new("\007\000\000\000\008\000\000\000\000\000\000\000\014\000\000\000\016\000\001\000'''alalalalalalalal\000\244\000\244al\000\244\000\244al\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244al\000\244\000\244\000\244\000\244\000\244alalal\000\244\000\244\000\244alalalalal\000\244alalalalalalalalalal5")</tt>
  
 
== See also  ==
 
== See also  ==

Revision as of 20:15, 24 May 2011

image.new is a function that is part of image.

This has been introduced in TI-Nspire OS 3.0 (Changes).


Syntax

image.new(image)

Parameter Type Description
image string The compressed/encrypted string containing the image header + data (see below)

Example

image.new("\007\000\000\000\008\000\000\000\000\000\000\000\014\000\000\000\016\000\001\000alalalalalalalal\000\244\000\244al\000\244\000\244al\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244\000\244al\000\244\000\244\000\244\000\244\000\244alalal\000\244\000\244\000\244alalalalal\000\244alalalalalalalalalal5")

See also