<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3AcreateJpeg</id>
	<title>Lua:createJpeg - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3AcreateJpeg"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:createJpeg&amp;action=history"/>
	<updated>2026-06-26T11:13:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Lua:createJpeg&amp;diff=8037&amp;oldid=prev</id>
		<title>Leunsel: Initial page creation.</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:createJpeg&amp;diff=8037&amp;oldid=prev"/>
		<updated>2026-06-23T19:24:21Z</updated>

		<summary type="html">&lt;p&gt;Initial page creation.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Lua]]&lt;br /&gt;
{{CodeBox|'''function''' createJpeg(''width'', ''height'') ''':''' [[Lua:Class:JpegImage|JpegImage]]}}&lt;br /&gt;
&lt;br /&gt;
Creates a JPEG image with the requested dimensions.&lt;br /&gt;
&lt;br /&gt;
Use the returned graphic with Image, Picture, Canvas, or other graphical CE objects.&lt;br /&gt;
&lt;br /&gt;
===Function Parameters===&lt;br /&gt;
{|width=&amp;quot;85%&amp;quot; cellpadding=&amp;quot;10%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Parameter&lt;br /&gt;
!align=&amp;quot;left&amp;quot;|Type&lt;br /&gt;
!style=&amp;quot;width: 80%;background-color:white;&amp;quot; align=&amp;quot;left&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| width&lt;br /&gt;
| Integer&lt;br /&gt;
| Width in pixels.&lt;br /&gt;
|-&lt;br /&gt;
| height&lt;br /&gt;
| Integer&lt;br /&gt;
| Height in pixels.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
[[Lua:Class:JpegImage|JpegImage]] &amp;amp;mdash; The new JpegImage object.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local graphic = createJpeg(128, 128)&lt;br /&gt;
-- Draw on or assign the returned graphic.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{LuaSeeAlso}}&lt;/div&gt;</summary>
		<author><name>Leunsel</name></author>
		
	</entry>
</feed>