<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://miniscript.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Illogicalapple</id>
	<title>MiniScript Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://miniscript.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Illogicalapple"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/wiki/Special:Contributions/Illogicalapple"/>
	<updated>2026-04-13T13:00:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Image&amp;diff=1235</id>
		<title>Image</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Image&amp;diff=1235"/>
		<updated>2024-07-28T17:55:46Z</updated>

		<summary type="html">&lt;p&gt;Illogicalapple: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[Mini Micro]] and [[Soda]], the &amp;lt;c&amp;gt;Image&amp;lt;/c&amp;gt; class represents a picture, i.e. a rectangular array of pixel colors.&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;c&amp;gt;[[file]].loadImage&amp;lt;/c&amp;gt; can be used to load an image from a file.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method or Property !! Purpose&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.width]] || image width, in pixels&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.height]] || image height, in pixels&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.pixel]](''x'',''y'') || get color of image pixel at ''x'',''y''&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.setPixel]] ''x'',''y'', ''c'' || set color of image pixel at ''x'',''y'' to ''c''&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.getImage]](''left'',''bottom'', ''width'', ''height'') || get a rectangular subregion of the image as a new Image&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.create]](''width'', ''height'', ''c'') || create and return a new Image initialized to color ''c''&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.fromScreen]](''width''=960, ''height''=640) || create an image from the current state of the screen, including all visible layers (a &amp;quot;screen shot&amp;quot;), scaled to the given width and height&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.flip]](''vertical''=false) || flip the image vertically or horizontally, in place&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.rotate]](''degrees''=90) || rotate the image in place, by ''degrees'' counter-clockwise (90° increments only)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;br /&gt;
[[Category:Soda]]&lt;/div&gt;</summary>
		<author><name>Illogicalapple</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Image&amp;diff=1234</id>
		<title>Image</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Image&amp;diff=1234"/>
		<updated>2024-07-28T17:55:14Z</updated>

		<summary type="html">&lt;p&gt;Illogicalapple: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[Mini Micro]] and [[Soda]], the &amp;lt;c&amp;gt;Image&amp;lt;/c&amp;gt; class represents a picture, i.e. a rectangular array of pixel colors.&lt;br /&gt;
&amp;lt;c&amp;gt;[[file]].loadImage&amp;lt;/c&amp;gt; can be used to load an image from a file.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method or Property !! Purpose&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.width]] || image width, in pixels&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.height]] || image height, in pixels&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.pixel]](''x'',''y'') || get color of image pixel at ''x'',''y''&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.setPixel]] ''x'',''y'', ''c'' || set color of image pixel at ''x'',''y'' to ''c''&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.getImage]](''left'',''bottom'', ''width'', ''height'') || get a rectangular subregion of the image as a new Image&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.create]](''width'', ''height'', ''c'') || create and return a new Image initialized to color ''c''&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.fromScreen]](''width''=960, ''height''=640) || create an image from the current state of the screen, including all visible layers (a &amp;quot;screen shot&amp;quot;), scaled to the given width and height&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.flip]](''vertical''=false) || flip the image vertically or horizontally, in place&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.rotate]](''degrees''=90) || rotate the image in place, by ''degrees'' counter-clockwise (90° increments only)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;br /&gt;
[[Category:Soda]]&lt;/div&gt;</summary>
		<author><name>Illogicalapple</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Image&amp;diff=1233</id>
		<title>Image</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Image&amp;diff=1233"/>
		<updated>2024-07-28T17:54:44Z</updated>

		<summary type="html">&lt;p&gt;Illogicalapple: add file.loadImage&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[Mini Micro]] and [[Soda]], the &amp;lt;c&amp;gt;Image&amp;lt;/c&amp;gt; class represents a picture, i.e. a rectangular array of pixel colors. &amp;lt;c&amp;gt;[[file]].loadImage&amp;lt;/c&amp;gt; can be used to load an image from a file.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Method or Property !! Purpose&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.width]] || image width, in pixels&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.height]] || image height, in pixels&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.pixel]](''x'',''y'') || get color of image pixel at ''x'',''y''&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.setPixel]] ''x'',''y'', ''c'' || set color of image pixel at ''x'',''y'' to ''c''&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.getImage]](''left'',''bottom'', ''width'', ''height'') || get a rectangular subregion of the image as a new Image&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.create]](''width'', ''height'', ''c'') || create and return a new Image initialized to color ''c''&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.fromScreen]](''width''=960, ''height''=640) || create an image from the current state of the screen, including all visible layers (a &amp;quot;screen shot&amp;quot;), scaled to the given width and height&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.flip]](''vertical''=false) || flip the image vertically or horizontally, in place&lt;br /&gt;
|-&lt;br /&gt;
| [[Image.rotate]](''degrees''=90) || rotate the image in place, by ''degrees'' counter-clockwise (90° increments only)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;br /&gt;
[[Category:Soda]]&lt;/div&gt;</summary>
		<author><name>Illogicalapple</name></author>
		
	</entry>
</feed>