-
Notifications
You must be signed in to change notification settings - Fork 0
/
NUU2PNG.htm
28 lines (28 loc) · 1.8 KB
/
NUU2PNG.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
<head>
<title>SeismoGRAPH - Adobe Director Bitmap NUU to PNG Converter</title>
<script src="js/DataStream.js" type="text/javascript"></script>
<!-- <link rel="stylesheet" href="../../templates/__cmsimple_default__/stylesheet.css" type="text/css"> -->
</head>
<body>
<h2>SeismoGRAPH
<span class="subtitle">Adobe Director Bitmap NUU to PNG Converter</span></h2>
<p>Convert and draw the Bitmap NUU formats used by Adobe Director, commonly found in BITD chunks in DIR/DXR files. These files have no headers, so the width, height and bitdepth is required. When copying out of a DIR/DXR file, do not include the beginning of the container with the length of the NUU file. This converter is still experimental, and cannot be expected to work perfectly. It still fails with some smaller images.<p>
<form name="form1">
<ul>
<li><input type="file" id="NUU" multiple="multiple"></li>
<!--<li><input type="file" id="CLUT" multiple="multiple"></li>-->
<li>Width: <input type="text" id="width" value=""></li>
<li>Height: <input type="text" id="height" value=""><!--The height will be determined automatically.--></li>
<li>Bitdepth: <select id="bitdepth"><option>1</option><option disabled>8</option><option disabled>16</option><option>24</option><option SELECTED>32</option></select></li>
<li><input type="button" value="Draw as NUU" onClick="image.drawNUU(false);"></input></li>
<li><input type="button" value="Convert NUUs to PNGs" onClick="image.drawNUU(true);"></input><!-- <input type="button" value="Convert PNGs to RAWRGB555s (Slow, may cause crash with large images)" onClick="image.convertJPEGtoRAWRGB555();"></input> --></li>
</ul>
<canvas id="NUUcanvas" width="128" height="128"></canvas>
</form>
<script src="js/BitdReader.js" type="text/javascript"></script>
<script LANGUAGE="Javascript">
var image = new NUU2PNG();
</script>
</body>
</html>