Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing plugins #866

Merged
merged 1 commit into from
Mar 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
"@babel/runtime": "^7.7.2",
"@jimp/plugin-blit": "link:../plugin-blit",
"@jimp/plugin-blur": "link:../plugin-blur",
"@jimp/plugin-circle": "link:../plugin-circle",
"@jimp/plugin-color": "link:../plugin-color",
"@jimp/plugin-contain": "link:../plugin-contain",
"@jimp/plugin-cover": "link:../plugin-cover",
"@jimp/plugin-crop": "link:../plugin-crop",
"@jimp/plugin-displace": "link:../plugin-displace",
"@jimp/plugin-dither": "link:../plugin-dither",
"@jimp/plugin-fisheye": "link:../plugin-fisheye",
"@jimp/plugin-flip": "link:../plugin-flip",
"@jimp/plugin-gaussian": "link:../plugin-gaussian",
"@jimp/plugin-invert": "link:../plugin-invert",
Expand All @@ -35,6 +37,8 @@
"@jimp/plugin-resize": "link:../plugin-resize",
"@jimp/plugin-rotate": "link:../plugin-rotate",
"@jimp/plugin-scale": "link:../plugin-scale",
"@jimp/plugin-shadow": "link:../plugin-shadow",
"@jimp/plugin-threshold": "link:../plugin-threshold",
"core-js": "^3.4.1",
"timm": "^1.6.1"
},
Expand Down
52 changes: 30 additions & 22 deletions packages/plugins/src/index.js
Original file line number Diff line number Diff line change
@@ -1,41 +1,49 @@
import { mergeDeep } from 'timm';

import dither from '@jimp/plugin-dither';
import resize from '@jimp/plugin-resize';
import blit from '@jimp/plugin-blit';
import rotate from '@jimp/plugin-rotate';
import color from '@jimp/plugin-color';
import print from '@jimp/plugin-print';
import blur from '@jimp/plugin-blur';
import circle from '@jimp/plugin-circle';
import color from '@jimp/plugin-color';
import contain from '@jimp/plugin-contain';
import cover from '@jimp/plugin-cover';
import crop from '@jimp/plugin-crop';
import normalize from '@jimp/plugin-normalize';
import invert from '@jimp/plugin-invert';
import gaussian from '@jimp/plugin-gaussian';
import displace from '@jimp/plugin-displace';
import dither from '@jimp/plugin-dither';
import fisheye from '@jimp/plugin-fisheye';
import flip from '@jimp/plugin-flip';
import gaussian from '@jimp/plugin-gaussian';
import invert from '@jimp/plugin-invert';
import mask from '@jimp/plugin-mask';
import normalize from '@jimp/plugin-normalize';
import print from '@jimp/plugin-print';
import resize from '@jimp/plugin-resize';
import rotate from '@jimp/plugin-rotate';
import scale from '@jimp/plugin-scale';
import displace from '@jimp/plugin-displace';
import contain from '@jimp/plugin-contain';
import cover from '@jimp/plugin-cover';
import shadow from '@jimp/plugin-shadow';
import threshold from '@jimp/plugin-threshold';

const plugins = [
dither,
resize,
blit,
rotate,
color,
print,
blur,
circle,
color,
contain,
cover,
crop,
normalize,
invert,
gaussian,
displace,
dither,
fisheye,
flip,
gaussian,
invert,
mask,
normalize,
print,
resize,
rotate,
scale,
displace,
contain,
cover
shadow,
threshold
];

export default jimpEvChange => {
Expand Down