﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Extensions%3AUni-Verse%2Fpngload</id>
	<title>Extensions:Uni-Verse/pngload - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Extensions%3AUni-Verse%2Fpngload"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:Uni-Verse/pngload&amp;action=history"/>
	<updated>2026-05-24T00:08:57Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Extensions:Uni-Verse/pngload&amp;diff=51972&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:Uni-Verse/pngload&amp;diff=51972&amp;oldid=prev"/>
		<updated>2018-06-28T17:50:02Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 17:50時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Extensions:Uni-Verse/pngload&amp;diff=51971&amp;oldid=prev</id>
		<title>wiki&gt;Mindrones: Robot: Automated text replacement  (-{{Template:UV/navigator}} +{{Page/Header|2.4|prevpage|nextpage}})</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:Uni-Verse/pngload&amp;diff=51971&amp;oldid=prev"/>
		<updated>2010-04-06T22:29:12Z</updated>

		<summary type="html">&lt;p&gt;Robot: Automated text replacement  (-{{Template:UV/navigator}} +{{Page/Header|2.4|prevpage|nextpage}})&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Page/Header|2.4|prevpage|nextpage}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
This page describes the tool called &amp;quot;pngload&amp;quot;. As the name suggest, it is a program that loads bitmap images in the PNG format, and uploads them into a Verse server. This provides a quick and easy way to get an existing image online through Verse.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===Requirements===&lt;br /&gt;
These are the various pieces of software that pngload depends on, and that you must make sure are available if you want to compile it yourself. If you are running a pre-compiled version, dependencies might be different.&lt;br /&gt;
;Verse&lt;br /&gt;
:Naturally, you must have the Verse API available in order to compile this program. See the [http://verse.blender.org Verse home page] for more information.&lt;br /&gt;
;libpng&lt;br /&gt;
:A standard library for loading and writing images in the PNG format. Available from the [http://www.libpng.org/pub/png/libpng.html libpng home page].&lt;br /&gt;
&lt;br /&gt;
==Running pngload==&lt;br /&gt;
The pngload program is a pure command-line tool, meaning it has no graphical (window-based) user interface. To use it, you simply run the executable (&amp;quot;binary&amp;quot;) from the command prompt, and control its behavior by passing suitable arguments.&lt;br /&gt;
&lt;br /&gt;
A basic invocation looks like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 $ pngload foo.png&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above will attempt to load the &amp;quot;&amp;lt;tt&amp;gt;foo.png&amp;lt;/tt&amp;gt;&amp;quot; PNG image, and then upload it to a Verse server running on the same machine.&lt;br /&gt;
&lt;br /&gt;
If you want to upload to a Verse server running elsewhere, use the &amp;lt;tt&amp;gt;-ip&amp;lt;/tt&amp;gt; option, like so:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 $ pngload -ip=verse.example.org bar.png&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above will attempt to upload the &amp;quot;&amp;lt;tt&amp;gt;bar.png&amp;lt;/tt&amp;gt;&amp;quot; PNG image, to a server running on the host &amp;lt;tt&amp;gt;verse.example.org&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
By default, pngload will name the bitmap nodes it creates after the files they contain. So, the above would create bitmap nodes named &amp;lt;tt&amp;gt;foo&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;bar&amp;lt;/tt&amp;gt; on the Verse server, respectively. Sometimes, this is not what you want, and you can specify an explicit name like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 $ pngload baz.png@testimage&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above will attempt to upload the &amp;quot;&amp;lt;tt&amp;gt;baz.png&amp;lt;/tt&amp;gt;&amp;quot; PNG image, into a node on the local Verse server, which will be named &amp;quot;&amp;lt;tt&amp;gt;testimage&amp;lt;/tt&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
So far, all examples have uploaded just a single image. Sometimes you have a set of images that you all want uploaded, and &amp;lt;tt&amp;gt;pngload&amp;lt;/tt&amp;gt; support this by just accepting several filenames at once:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 $ pngload foo.png bar.png baz.png&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above attempts to upload all three images, in a single run. Images that fail to load will be reported, but the program will not abort.&lt;br /&gt;
&lt;br /&gt;
===Output===&lt;br /&gt;
The above shows only how to call pngload, it does not show any output displayed by the program as it runs.&lt;br /&gt;
&lt;br /&gt;
By default, pngload will print a two lines of information for each image it tries to&lt;br /&gt;
upload: one line giving a summary of the image's properties, and one line giving the ID and name of the node it created to hold the data. After all the images' lines, a final summary will be printed before pngload exits.&lt;br /&gt;
&lt;br /&gt;
Note that Verse node ID:s are session-local, so there is no guarantee that the node ID printed by pngload will mean anything to some other tool. The name should, though.&lt;br /&gt;
&lt;br /&gt;
Here is how a complete upload will look:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 $ ./pngload ~/data/graphics/test-images/pnggrad16rgb-small.png&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
 Handling connection, stage 1&lt;br /&gt;
 Loaded &amp;quot;/home/emil/data/graphics/test-images/pnggrad16rgb-small.png&amp;quot;, 9x9 pixels, RGB,  16 bits/pixel&lt;br /&gt;
 Created node 1, set name to &amp;quot;pnggrad16rgb-small&amp;quot;&lt;br /&gt;
 Done, uploaded 1 images, 12 tiles in total&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;tt&amp;gt;-q&amp;lt;/tt&amp;gt; (&amp;quot;quiet&amp;quot;) option to suppress all this output (except the &amp;quot;Handling connection ...&amp;quot;-line, which is from the Verse library itself).&lt;br /&gt;
&lt;br /&gt;
==Limitations==&lt;br /&gt;
Currently, pngload will only load images that are three (RGB) or four (RGBA) channels. Attempts to load images with non-supported color types will be ignored (and a warning will be printed).&lt;br /&gt;
&lt;br /&gt;
Further, pngload will only create 8- and 16-bit unsigned integer layers, depending on the bits per pixel of the source image. This means that 1-bit, and floating point, formats are not supported.&lt;br /&gt;
&lt;br /&gt;
Also, pngload does not try very hard when it names the nodes it creates. It will simply strip the extension (&amp;quot;.png&amp;quot;) from the filename, and use the result as the new node name. It does not check for node name collisions; but this is something the server should probably do.&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Mindrones</name></author>
		
	</entry>
</feed>