![]() Restricts zoom so image cannot be smaller than viewport Default trueĮnable or disable the ability to use the mouse wheel to zoom in and out on a croppie instance. If the file format is not specified, or if the given format is not supported, then the data will be exported as image/png. The desired file format and image quality may be specified. If set to false - scrolling and pinching would not zoom. The HTMLCanvasElement.toDataURL () method returns a data URL containing a representation of the image in the format specified by the type parameter. Default falseĮnable zooming functionality. Tells Croppie to read exif orientation from the image data and orient the image correctly before rendering to the page.Įnable or disable support for specifying a custom orientation when binding images (See bind method) Default falseĮnable or disable support for resizing the viewport area. You can even use the image produced by other canvas elements. ![]() External images can be used in any format supported by the browser, such as PNG, GIF, or JPEG. These can be used to do dynamic photo compositing or as backdrops of graphs, for sprites in games, and so forth. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself. One of the more exciting features of
0 Comments
Leave a Reply. |