My intention was to embed a slideshow within a HTML-page without the need of any browser plugins to show the images, or even worse, to create such a HTML-page with a 3rd-party application I'ld have to pay for.
So I decided to write my own 32-bit "HTML5-Slideshow-Creator" to be run on Windows computers. "HTML5-Slideshow-Creator" is a utility that lets you tansform a picture gallery into a HTML5 compatible slideshow. The HTML5 page produced doesn't require an Internet connection, because the images to be presented aren't located somewhere in the cloud (AKA Complete Loss Of User Data). Hence you can consider the HTML5 page created as a "standalone" image viewer.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
"HTML5-Slideshow-Creator" is realized in MortScript language:
The full project-package I've uploaded here to:
http://www.mediafire.com/download/7ohpbioan7nym46/html5-slideshow-creator.zip
The package also contains freeware "painless", a batch image resizer for Windows (does not require being installed or uninstalled).
What you also should know:
Included to "HTML5-Slideshow-Creator" is the ability to convert/optimize the images.
If image to be included into HTML5 slideshow is of file format
a) JPEG then comments and other useless information (such as EXIF information) will be removed
» The tool used is JPEGTRAN (http://linux.about.com/library/cmd/blcmdl1_jpegtran.htm)
b) BMP then it's converted to JPG: BMP files are normally uncompressed, and the compression options available are not very powerful, making the format a poor choice for distribution over the Internet.
» The tool used is BMP2JPG, a small MicroSoft utility - requires MicroSoft .NET framework.
c) PNG then it's optimized, i.e. the size of the file gets losslessly reduced. The resulting "crushed" image will have the same quality as the source image.
» The tool used is PNGCRUSH (http://pmt.sourceforge.net/pngcrush/)
Of course image optimization is optional, you can enable/disable it.
HOW TO MAKE USE OF "HTML5-Slideshow-Creator"
You unzip it, locate folder "html5-slideshow-creator"
and then therein simply run "html5-slideshow-creator.exe". That's all.
After "html5-slideshow-creator.exe" has done its work
you can deploy the ZIP-file created.
Related
DOS 6.2 Tutorial in a Command Line Interface;
At the risk of revealing my age, ...
Once, a long, long time ago (unpack it and you can start guessing ) a good digital_friend send me this directory. I think I obtained it at first via FidoNet Then later I obtained this newer attached version via BBS
Though zipped it before upping it of course.
[TUT] A nice compiled dos Tutorial 2010-August-8th here on xda-developers.com
Screenshots;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Of course one can unpack it and run it, though ...
Maybe this ADMiN at WORK method is something to write down <g>
Code:
@ECHO OFF
REM below the dos screen is set to show 50 lines in a box (15" CRT monitor). Don't go about and fill in a ridiculous value; you'll get to reboot your precious session! Because you can 1st read the provided manual ;-)
[COLOR=Red]MODE 80,50[/COLOR]
C:
CD C:\PROGRA~1\DOS6T\
HTUTOR.EXE
:END
EXiT
This batch file assumes you have unpacked this zip to C:\Program Files\*
1. Copy and paste the above code in a text editor and save it with a short (8.3) name of your choice.
2. Then rename the *.txt file to *.bat and double click it. (Mine's called Htut6.bat)
3. Press a key to continue...
4. Go to the Advanced Topics for a nice overview.
When you're done and quit the program, I advice to make a shortcut to your *.bat file;
LongPress_RightMouseButton the *.bat file - wait for context menu and select Create Shortcut (move/rename it to your liking)!
Q: Are there still people using DOS? And batch files??!
A: Chef's do! Don't you?
Note;
I never used this tutorial, due to the fact that I used Novell DOS (NDOS) and later moved to JPSoftware its 4DOS (which was a collaboration between NDOS/4DOS) later it was called 4NT command line interpreter (which was making overall dos operations go so much more faster, due to batch files which could/(can) be compiled easily).
Have a nice day/night,
BenThon provided some awesome tools [Personal Computer] regarding extracting & building TSK Themes. An overview;
REF #1
Meaning of Base 64
Base 2 is binary and use digits "01"
Base 10 is decimal and use digits "0123456789"
Base 16 is hexadecimal and use digits "0123456789ABCDEF"
Base 64 use digits "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwx yz0123456789+/" and for padding character "="
Here is an encoder, decoder for Base 64.
First and second memos are filled by your choices in the character form (after clicking on "Insert Datas" button)
Datas in Hexadecimal.
Datas as you enter it.
After you do Encode and you get the Base 64 datas, you can click on decode to verify the other conversion.
You can also edit the third memo (the 3 others are not editable) with your Base 64 datas and decode them !
Attachment of BenThon his Base64 en~/decoder
REF #2
New version of the program to convert TSK with a radiogroup to choose compression and compatibility with older OS than WM5
TSK with _setup.xml (with datas compressed in TSK)
TSK with _setup.xml (with datas not compressed in TSK)
TSK with _setup.xml and INF (with datas not compressed in TSK) to maintain compatibility with previous OS.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you choose TSK with compatibility and you have special WM5 keys like Color_TitleFlat, name of the convert TSK must have the same name as the Read TSK.
Attachment of BenThon his Convert TSK to XML (_setup.xml) (and vice versa) v2 - (version 1)
REF #3
Attachment of BenThon his Browse Themes (CE)
When you run this program the current theme viewed is extracted (pictures, inf, ini, xml) to BTExtractImg directory.
REF #4
BenThon his awesome ThemeGenCE and its Tutorial and then MSCEInf (*.cab and *.tsk extraction!!!).
REF #5
Convert [on your PC] colorcode Binary to HEX. Found it somewhere, though can not remember where (sorry).
Hope these linx help you out too,
Senax
Hey all, since MIUI v1.6.15 has introduced some nice new clocks, especially the analog ones, it might be an idea to open a thread for themed versions. I'll kick off with three colour variations on the swirly clock.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Skinning them is easy, just browse to your /system/media/gadget/clock folder and you'll find them all there, nicely zipped up and ready to be played with. Creating an installer as also fairly easy - you can use the one attached as a base - just open the zip and edit the \META-INF\com\google\android\updater-script with any good text editor (such as Notepad++ ... not windows notepad) to reflect the name of the clocks to be installed... and drop the zips into the \system\media\gadget\clock folder.
To install, you need to copy the file to your sdcard, boot into recovery mode, select "Install zip from sdcard" > "Choose zip from sdcard", select the file and reboot. Now, when you add the analog 2x2 widget to your screen you will see three new colours available under the layout options (hit the small edit button above the clock). Done.
So what else you got?!
Absolutely amazing!
Thanks for these
Very nice !!!
Okay I have been working on this for hours now with no luck. I am requesting assistance with this Gadget Clock mod. The 7 second hand for some strange reason jumps to 53 second then back to 8 second. Can't explain why. Also I am having a hard time lining up the seconds hands properly. Any assistance will be greatly appreciated. File attached. Thanks in advance! (Note: this is a regular animated digital clock for all users not just MIUI. That's why it's in apk format)
Not sure if anyone is watching this thread - I made a 2x2 clock and updated the manifest. Zipped and installed to the MIUI/gadgets/clock. Is install zip from recovery necessary as of MIUI 1.11.25? I plopped the zin in ever gadget file and can't get it to show up
Edit: figured it out - windows 7 zip utility is a total fail - worked just fine with 7zip
After a whole lot of long evenings, odd hacking sessions and other fun things, I'm proud to present a full-system emulator for pebble.
This differs from existing solutions by actually emulating the pebble firmware using QEMU rather than simulating system calls!
It's still very much work in progess, but it currently boots a slightly modified firmware and allows navigating around the menus.
The long-term goal is to get it to a state where installing apps using libpebble is possible and hence allow using it for development.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Limitations:
Needs a full dump of the internal flash to boot (Working to allow it to boot a tintin_fw.bin directly)
Requires a modified firmware (BT initialization disabled)
Requires an SPI flash dump to be usable (Needs modified firmware to dump!)
There's currently no way to install apps
It has only been tested with firmware version 2.0.0
Sources:
https://github.com/pebbledev/qemu_pebble
DumpPebble: https://github.com/Hexxeh/DumpPebble
Dump Pebble SPI Flash: https://github.com/EnJens/DumpPebbleSPIFlash
Required patches:
On a full internal flash dump of Firmware 2.0.0 (ev2_4 - e.g. original kickstarter watch!), the following patch needs to be applied to get it running in the emulator:
patch 0x0803d910 1BE0 (Inside a full dump, the offset will be -0x8000000, e.g. offset 0x3d910)
Reserved2
Does this compile and run under android? I could see this being useful on watch devices like the Omate TrueSmart
fg said:
Does this compile and run under android? I could see this being useful on watch devices like the Omate TrueSmart
Click to expand...
Click to collapse
I doubt the CPU in the Omate is sufficiently powerful to do this right now. (I say right now, because it might theoretically be possible to optimize emulation since the cpu could directly execute most instructions...Similar to x86 on x86 emulation).
But no, this doesn't compile and run under android. It's intended for development of apps, rather than daily usage.
How do you run this under Windows? I can't seem to find a .bat or .exe file. Or does this only run with Linux?
SONY XPERIA Z2 PSD : READ THE THREAD FOR FUTHER DETAILS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is for showing off your ROM's and themes and Apps for the Sony Xperia Z2.
Cleanly edited and formatted for a more professional & minimal presentation of your mockup.
User-friendly, does not require much knowledge of Photoshop, works well enough in GIMP and other comaptible softwares.
PM me if you have any difficulties with the PSD or with any graphical problem, i'll reply asap. Make sure you check out the FAQ.
FAQs will be updated on the basis of problems users come across. I worked really hard on this, hope you guys like it.
- Download : deviantART (free)
- Blog : click here
- Facebook : click here
- Google+ : click here
- What is a PSD ? : click here
- FAQ
1. Question: What is a PSD File?
Did you find a PSD file on your computer and wonder what program should open it? Maybe someone emailed you a PSD file but you're not sure how to use it. Perhaps you tried to open the PSD file but Windows told you that it could not open it.
Before you can open a PSD file (assuming it's even a file format that's intended to be viewed or edited), you'll need to determine what kind of file the .PSD file extension refers to.
Answer: A file with the PSD file extension is an Adobe Photoshop Document file.
Other types of files may also use the PSD file extension. If you know of any additional file formats that use the .PSD extension, please let me know so I can update this information.
2. Question : How To Open a PSD File ?
Answer : The easiest way to open a PSD file is to double-click on it and let your PC decide which default application should open the file. If no program opens the PSD file then you probably don't have an application installed that can view and/or edit PSD files.
// Please Credit me if you use it