Comparing version 0.0.2 to 0.0.3
@@ -1,2 +0,2 @@ | ||
export declare type Waifu2xFormats = ".bmp" | ".dib" | ".exr" | ".hdr" | ".jpe" | ".jpeg" | ".jpg" | ".pbm" | ".pgm" | ".pic" | ".png" | ".pnm" | ".ppm" | ".pxm" | ".ras" | ".sr" | ".tif" | ".tiff" | ".webp"; | ||
export declare type Waifu2xFormats = "bmp" | "dib" | "exr" | "hdr" | "jpe" | "jpeg" | "jpg" | "pbm" | "pgm" | "pic" | "png" | "pnm" | "ppm" | "pxm" | "ras" | "sr" | "tif" | "tiff" | "webp"; | ||
export interface Waifu2XOptions { | ||
@@ -3,0 +3,0 @@ noise?: 0 | 1 | 2 | 3; |
@@ -94,3 +94,3 @@ "use strict"; | ||
if (options.recursionFormat) | ||
command += " -f " + options.recursionFormat; | ||
command += " -f " + options.recursionFormat.toUpperCase(); | ||
var output = child_process_1.execSync(command).toString(); | ||
@@ -97,0 +97,0 @@ var files = fs.readdirSync(destFolder); |
{ | ||
"name": "waifu2x", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "2x upscaling of images with waifu2x", | ||
@@ -5,0 +5,0 @@ "main": "dist/waifu2x.js", |
@@ -40,21 +40,21 @@ <div align="left"> | ||
export type Waifu2xFormats = | ||
| ".bmp" | ||
| ".dib" | ||
| ".exr" | ||
| ".hdr" | ||
| ".jpe" | ||
| ".jpeg" | ||
| ".jpg" | ||
| ".pbm" | ||
| ".pgm" | ||
| ".pic" | ||
| ".png" | ||
| ".pnm" | ||
| ".ppm" | ||
| ".pxm" | ||
| ".ras" | ||
| ".sr" | ||
| ".tif" | ||
| ".tiff" | ||
| ".webp" | ||
| "bmp" | ||
| "dib" | ||
| "exr" | ||
| "hdr" | ||
| "jpe" | ||
| "jpeg" | ||
| "jpg" | ||
| "pbm" | ||
| "pgm" | ||
| "pic" | ||
| "png" | ||
| "pnm" | ||
| "ppm" | ||
| "pxm" | ||
| "ras" | ||
| "sr" | ||
| "tif" | ||
| "tiff" | ||
| "webp" | ||
``` | ||
@@ -61,0 +61,0 @@ |
@@ -6,21 +6,21 @@ import {execSync} from "child_process" | ||
export type Waifu2xFormats = | ||
| ".bmp" | ||
| ".dib" | ||
| ".exr" | ||
| ".hdr" | ||
| ".jpe" | ||
| ".jpeg" | ||
| ".jpg" | ||
| ".pbm" | ||
| ".pgm" | ||
| ".pic" | ||
| ".png" | ||
| ".pnm" | ||
| ".ppm" | ||
| ".pxm" | ||
| ".ras" | ||
| ".sr" | ||
| ".tif" | ||
| ".tiff" | ||
| ".webp" | ||
| "bmp" | ||
| "dib" | ||
| "exr" | ||
| "hdr" | ||
| "jpe" | ||
| "jpeg" | ||
| "jpg" | ||
| "pbm" | ||
| "pgm" | ||
| "pic" | ||
| "png" | ||
| "pnm" | ||
| "ppm" | ||
| "pxm" | ||
| "ras" | ||
| "sr" | ||
| "tif" | ||
| "tiff" | ||
| "webp" | ||
@@ -104,3 +104,3 @@ export interface Waifu2XOptions { | ||
if (options.jpgWebpQuality) command += ` -q ${options.jpgWebpQuality}` | ||
if (options.recursionFormat) command += ` -f ${options.recursionFormat}` | ||
if (options.recursionFormat) command += ` -f ${options.recursionFormat.toUpperCase()}` | ||
const output = execSync(command).toString() | ||
@@ -107,0 +107,0 @@ const files = fs.readdirSync(destFolder) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114644435