citra-emu
/
citra-web
Archived
1
0
Fork 0

Disable image compression

Because it doesn't look nice :(
This commit is contained in:
bunnei 2017-05-03 21:56:26 -04:00 committed by GitHub
parent df8a6e6210
commit d18e6b5e60
1 changed files with 0 additions and 12 deletions

View File

@ -63,24 +63,12 @@ gulp.task("css", ['hugo'], () => (
gulp.task('images', ['hugo'], () => ( gulp.task('images', ['hugo'], () => (
gulp.src(`${distPath}/images/*`, {base: './'}) gulp.src(`${distPath}/images/*`, {base: './'})
.pipe(image({
mozjpeg: false,
jpegoptim: false
}))
.pipe(gulp.dest('./')), .pipe(gulp.dest('./')),
gulp.src(`${distPath}/images/jumbotron/*`, {base: './'}) gulp.src(`${distPath}/images/jumbotron/*`, {base: './'})
.pipe(jimp({ sizes: [{"width": 786, "height": 471 }] })) .pipe(jimp({ sizes: [{"width": 786, "height": 471 }] }))
.pipe(image({
mozjpeg: false,
jpegoptim: false
}))
.pipe(gulp.dest('./')), .pipe(gulp.dest('./')),
gulp.src(`${distPath}/images/banners/*`, {base: './'}) gulp.src(`${distPath}/images/banners/*`, {base: './'})
.pipe(jimp({ sizes: [{"width": 824, "height": 306 }] })) .pipe(jimp({ sizes: [{"width": 824, "height": 306 }] }))
.pipe(image({
mozjpeg: false,
jpegoptim: false
}))
.pipe(gulp.dest('./')) .pipe(gulp.dest('./'))
)); ));