@@ -8,15 +8,15 @@ A simple NodeJS package for image compression powered by FFMPEG.
8
8
9
9
- Node.js 8.0.* up to latest.
10
10
11
- - Operating System: Windows, Linux or Mac OS X .
11
+ - Operating System: Windows, Linux.
12
12
13
13
- FFMPEG Binaries or Executable File:
14
14
15
15
- To get the latest static build for ** Linux** : [ Linux FFMPEG Static Build] ( https://johnvansickle.com/ffmpeg/ )
16
16
17
17
- For ** Windows** you can download it via this link: [ Windows FFMPEG Build] ( https://ffmpeg.zeranoe.com/builds/ )
18
18
19
- - ** Note: ** The ** Mac OS** is currently not supported by this package as of the moment .
19
+ - While as of the moment, the ** Mac OS** is currently not supported by this package.
20
20
21
21
- To check the FFMPEG latest build or release please refer to this link: [ FFMPEG Main Download Link] ( https://ffmpeg.org/download.html )
22
22
@@ -52,8 +52,8 @@ var imgSqueezer = new ImageSqueezer.FFMPEGComppresion();
52
52
// if the package fit for the current environment.
53
53
imgSqueezer .load ();
54
54
55
- // Override the default binaries ffmpeg .
56
- imgSqueezer .setBin (' /path/to/binary ' );
55
+ // Set the default binaries file .
56
+ imgSqueezer .setBin (' /path/to/ffmpeg ' );
57
57
58
58
// Provide the source file path of the desire image
59
59
// that will be compress later on.
@@ -85,8 +85,8 @@ var imgSqueezer = new ImageSqueezer.FFMPEGComppresion();
85
85
// if the package fit for the current environment.
86
86
imgSqueezer .load ();
87
87
88
- // Override the default binaries ffmpeg .
89
- imgSqueezer .setBin (' /path/to/binary ' );
88
+ // Set the default binaries file .
89
+ imgSqueezer .setBin (' /path/to/ffmpeg ' );
90
90
91
91
// Provide the source file path of the desire image
92
92
// that will be compress later on.
@@ -120,8 +120,8 @@ var imgSqueezer = new ImageSqueezer.ProgressiveJPEG();
120
120
// if the package fit for the current environment.
121
121
imgSqueezer .load ();
122
122
123
- // Override the default binaries ffmpeg .
124
- imgSqueezer .setBin (' /path/to/binary ' );
123
+ // Set the default binaries file .
124
+ imgSqueezer .setBin (' /path/to/convert ' );
125
125
126
126
// Provide the source file path of the desire image
127
127
// that will be compress later on.
@@ -149,8 +149,8 @@ var imgSqueezer = new ImageSqueezer.ProgressiveJPEG();
149
149
// if the package fit for the current environment.
150
150
imgSqueezer .load ();
151
151
152
- // Override the default binaries ffmpeg .
153
- imgSqueezer .setBin (' /path/to/binary ' );
152
+ // Set the default binaries file .
153
+ imgSqueezer .setBin (' /path/to/convert ' );
154
154
155
155
// Provide the source file path of the desire image
156
156
// that will be compress later on.
0 commit comments