<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Images</title><link>https://sourceforge.net/p/yoshi/wiki/Images/</link><description>Recent changes to Images</description><atom:link href="https://sourceforge.net/p/yoshi/wiki/Images/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 24 Aug 2023 19:00:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/yoshi/wiki/Images/feed" rel="self" type="application/rss+xml"/><item><title>Images modified by Jim Saxton</title><link>https://sourceforge.net/p/yoshi/wiki/Images/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="images"&gt;Images&lt;/h1&gt;
&lt;p&gt;Any image supported by yab are supported by Yoshi. Images are placed in the horizontal center of the window, unless there is no width specified. In that case the image is placed on the left side of the window. The image will be resized to the height and width specified.&lt;/p&gt;
&lt;h3 id="image"&gt;image&lt;/h3&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nx"&gt;img&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;type&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;image&lt;/span&gt;
&lt;span class="nx"&gt;img&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;label&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;This&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Yoshi&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;icon&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="nx"&gt;img&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;boot&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;settings&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;fatelk&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;yoshi&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;yoshi&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;icon&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;hvif&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;png&lt;/span&gt;
&lt;span class="nx"&gt;img&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;maxwidth&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;64&lt;/span&gt;
&lt;span class="nx"&gt;img&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;maxheight&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;64&lt;/span&gt;
&lt;span class="nx"&gt;img&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;border&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This places the yoshi icon image in the center with a border drawn 4 pixels outside the image. In this case, the image and border takes up 72 X 72 pixels, but the label is placed above so that it takes up even more space on the screen:&lt;/p&gt;
&lt;p&gt;&lt;img alt="window with image" rel="nofollow" src="https://raw.githubusercontent.com/bbjimmy/Yoshi/master/images/image.png"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A window showing the example above&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Images or  labels wider/longer than the window will re-size the window. &lt;/p&gt;
&lt;p&gt;&lt;img alt="another window with image" rel="nofollow" src="https://raw.githubusercontent.com/bbjimmy/Yoshi/master/images/image1.png"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;An example of a resized window&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://github.com/bbjimmy/Yoshi/wiki/Filepanel" rel="nofollow"&gt;Back&lt;/a&gt;     &lt;a class="" href="https://github.com/bbjimmy/Yoshi/wiki/Multiselect" rel="nofollow"&gt;Next&lt;/a&gt;   &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Saxton</dc:creator><pubDate>Thu, 24 Aug 2023 19:00:36 -0000</pubDate><guid>https://sourceforge.net268a91685df008fa856c3fdc9f726cf8586fd73b</guid></item></channel></rss>