Refactored the Image module. Added image.fromUrl method. Added image-tests.

This commit is contained in:
atanasovg
2014-05-14 19:06:45 +03:00
parent 4880d048c4
commit 0242773cae
15 changed files with 309 additions and 202 deletions

8
image/image_impl.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
/**
* This module is used as a native implementation for each of the underlying platforms.
* Users will not typically require it as it supports the module infrastructure.
*/
export declare function fromResource(name: string): any;
export declare function fromFile(path: string): any;
export declare function fromData(data: any): any;
export declare function saveToFile(instance: any, path: string, format: number, quality?: number): boolean;