Skip to content

Making thumbnail increases file size #23

@parikh5555

Description

@parikh5555

Module worked correctly but not as expected. My 960x960 image made 800x800 but its size increased to 524kbs from 148kbs.

var thumb = require('node-thumbnail').thumb;

// thumb(options, callback);

thumb({
source: 'H:/Desktop/Golden Associates/Golden_Web/Themes/LetsPlay/Node/thumbnail/Abhi2.jpg', // could be a filename: dest/path/image.jpg
destination: 'H:/Desktop/Golden Associates/Golden_Web/Themes/LetsPlay/Node/thumbnail',
concurrency: 4
}, function(files, err, stdout, stderr) {
if(err)
console.log(err);
if (files)
console.log(files);
if (stderr)
console.log(stderr)
console.log('All done!');
});

abhi2
abhi2_thumb

I hope you can understand what I want :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions