6-10 – Please tell us below if you know any more good JavaScript demos of Google maps which we can add to this web page to help others.
Also if you are looking to code or have coded any features we are looking for include functionality for zooming the maps with mouse scrolling or by finger pinch (on mobile devices) we would love to hear about it. We’re also API integration such as real-time search custom markers and other similar geo-location features. In return we can offer you some exposure and usage/adoption to your module for free.
Looking to create a great-looking 3D cover image to help promote your latest book? Save yourself the time and money of having to hire someone to create this 3D cover image by spending just a few minutes and watching our latest YouTube tutorial that will walk you through the process step-by-step.
Part 2 - Access Pixlr: The free platform to create the simple 3D Book Image
This tutorial does not rely on Adobe Photoshop at all. Instead we will show you how to use the free online image editor found here; pixlr.com/editor/ to create the basic 3D image.
Part 3 - (Optional) Remove the background of the 3D book cover image using GIMP
I then use the free image-editing software called GIMP to touch up the image. (Download GIMP Here.)Please note, this step is entirely optional and will just polish the 3D cover-image further by removing the background "space".
YouTube not your thing?
Here is our step-by-step instructions on how to create your own 3D Cover image.
Step 1
First: Download your preferred 3D book image template file.
(You will need to have the high-resolution image file of your Book cover ready.)
First: Open up the template image in Pixlr (Select the "Open image from Computer" option)
Second: Select: Layer - Open image as layer.
Then browse your PC and find, select and open the rectangular book cover image.
Third: Select: Edit - Free Distort.
Drag the corners of the book cover image to match the four corners of the 3D book template. When prompted if you want to save the update, click yes.
Fourth: Select: File - Save,
Save the image to your computer as a PNG file with an appropriate name For example: 3D-Book-Image-MyBookName.png
Hint: You might want to adjust the 3D image dimensions before saving the file, this is done through the following menu: Select the "Image" menu and then select "Image Size".
Congrats - You now have a professional-looking 3D image of your book cover!
I have deliberately left out the steps to tweak the image through GIMP. If you are more of a geek, please view the YouTube video demonstrating how to remove the background of the 3D image at the beginning of the article.
If you find this tutorial useful, please let me know, I would love to hear your feedback.
When you get file system access using requestFileSystem, access is granted for the sandboxed file system only (the sandbox limits access to the app itself), not for general access to any file system location on the device. (read here for TEMPORARY and here for PERSISTENT storage tutorial) To access file system locations outside the sandboxed storage, use other methods such as window.requestLocalFileSystemURL, which support platform-specific locations. As of Cordova v1.2.0 (cordova-plugin-file), URLs to important file-system directories are provided. Each URL is in the form file:///path/to/spot/, and can be converted to a DirectoryEntry using window.resolveLocalFileSystemURL(). (read here)
.
Methods
requestFileSystem()
Requests a file system where data should be stored. You access a sandboxed file system by requesting a LocalFileSystem object using this global method, window.requestFileSystem().
void requestFileSystem(
in unsigned short type,
in unsigned long long size,
in FileSystemCallback successCallback,
in ErrorCallback errorCallback
);
Parameters
type
The storage type of the file system. The values can be either TEMPORARY or PERSISTENT.
size
The storage space—in bytes—that you need for your app.
successCallback
The success callback that is called when the browser provides a file system. Its argument is the FileSystem object with two properties:
name - the unique name assigned by the browser to the file system.
root - the read-only DirectoryEntry object representing the root of the file system.
opt_errorCallback
The error callback that is called when errors happen or when the request to obtain the file system is denied. Its argument is the FileError object.
Returns
void
Exceptions
This method can raise an FileError with the following code:
Exception
Description
SECURITY_ERROR
The application does not have permission to access the file system interface. For example, you cannot run from file://. For more details, see the article on basic concepts.
resolveLocalFileSystemURL()
Lets you look up the entry for a file or directory with a local URL.
void resolveLocalFileSystemURL(
in DOMString url,
in EntryCallback successCallback,
in optional ErrorCallback errorCallback
);
Parameters
url
The URL of a local file in the file system.
successCallback
The success callback that is called when the browser provides the file or directory for the supplied URL.
errorCallback
The error callback that is called when errors happen or when the request to obtain the entry object is denied.
Returns
void
Exceptions
This method can raise an FileError with the following code:
Exception
Description
ENCODING_ERR
The syntax of the URL was invalid.
NOT_FOUND_ERR
The URL was structurally correct, but refers to a resource that does not exist.
SECURITY_ERR
The application does not have permission to access the file system interface.
0 Comments:
Post a Comment