- Joined
- Nov 14, 2009
- Messages
- 756
- Points
- 0
I have been frustrated with many of the options and costs to simply look at ILD files. Many free options will only read files using the older (pre 2007) ILD standard. I decided to write an online ILD viewer that reads ILD files under all of the current standards. It outputs each frame as a PNG, and allows all of the PNGs to be downloaded as a zip file.
You can use it at http://198.167.138.126/ (or at http://198.167.138.126/svg2ild/ for the SVG to ILD converter)
FAQs:
• Why does it ask what palette to use?
Known Bugs:
Future Plans:
File size, abuse, and donations
Terminology:
You can use it at http://198.167.138.126/ (or at http://198.167.138.126/svg2ild/ for the SVG to ILD converter)
FAQs:
• Why does it ask what palette to use?
• What do the errors, warnings, and notices mean?If the ILD file does not contain a color palette, this specifies what palette to use. If the colors are wrong, or parts of the drawing are missing, try selecting another palette.
• Will it work over a slow internet connection?Most people can ignore most of the messages. They are designed to help people debug programs that create ILD files. Some of the terms are explained below.
• Are there file size limits?Each frame will be generated as a 768x768 PNG. Please keep that in mind if you try to load the page over a slow internet connection. I tested it on my phone (~1mbps) and had no problems with a 70 frame file.
• How long are PNGs kept on the server?To conserve bandwidth and CPU usage, files are limited to 500 kilobytes, and 100 frames. If the file is under 500 kilobytes, but over 100 frames, the first 100 frames will be shown, and an error will be displayed.
Up to 1 hour.
Known Bugs:
• Z axis
Some ILD files specify a Z axis for 3D drawings. The Z axis is ignored when images are generated. Very few programs (actually, none that I could find) use the Z axis, which makes it hard to test. If you have a file that uses the Z axis, it will display incorrectly. Please shoot me a PM if you find one of these so I can implement the Z axis and test with it.
Future Plans:
• Open source. Once I am done working on this, I plan to publish the code (it is written in PHP).
• Animated GIF support. I tested generating animated gifs instead of series of PNGs, however, the CPU usage was unacceptably high. I will keep looking for new ways to do this with lower CPU usage so this feature can be implemented.
• Animated GIF support. I tested generating animated gifs instead of series of PNGs, however, the CPU usage was unacceptably high. I will keep looking for new ways to do this with lower CPU usage so this feature can be implemented.
File size, abuse, and donations
As mentioned in the FAQs, files are limited to 500 kilobytes, and 100 frames.
This script uses significant resources. Files have to be uploaded, and PNGs have to be downloaded. In addition to that, the script has to load the ILD file into memory, and CPU usage is ~5% per ILD file while the file is being processed. This script runs on a VPS (virtual private server), and I have limits on my account. If this script reaches the limits of my VPS plan, or my account is suspended, I will have to upgrade, or remove the script from my website.
I do not intend to pay extra for hosting out of my pocket so this script can run. If it becomes an issue, donations will become required to keep this online.
Please do not abuse this script.
This script uses significant resources. Files have to be uploaded, and PNGs have to be downloaded. In addition to that, the script has to load the ILD file into memory, and CPU usage is ~5% per ILD file while the file is being processed. This script runs on a VPS (virtual private server), and I have limits on my account. If this script reaches the limits of my VPS plan, or my account is suspended, I will have to upgrade, or remove the script from my website.
I do not intend to pay extra for hosting out of my pocket so this script can run. If it becomes an issue, donations will become required to keep this online.
Please do not abuse this script.
Terminology:
• Color palette
Let me know if you find any bugs, or have any new feature ideas.• True colorA set of up to 256 colors that can be displayed in the frame.
• Format 0A frame that does not require a color palette. Each point has its own color, with 16.7 million colors possible. The true color ILD standard was released in 2007.
• Format 13D frame that requires a color palette.
• Format 42D frame that requires a color palette.
• Format 53D true color frame that does not require a color palette.
2D true color frame that does not require a color palette.
Last edited: