@nexrender/core 1.50.6 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexrender/core",
3
- "version": "1.50.6",
3
+ "version": "1.51.0",
4
4
  "main": "src/index.js",
5
5
  "author": "Inlife",
6
6
  "homepage": "https://www.nexrender.com",
@@ -27,6 +27,7 @@
27
27
  "@nexrender/action-copy": "^1.0.0",
28
28
  "@nexrender/action-decompress": "^1.48.2",
29
29
  "@nexrender/action-encode": "^1.1.4",
30
+ "@nexrender/action-image": "^1.49.4",
30
31
  "@nexrender/action-upload": "^1.0.0",
31
32
  "@nexrender/provider-ftp": "^1.17.2",
32
33
  "@nexrender/provider-gs": "^1.21.3",
@@ -37,5 +38,5 @@
37
38
  "publishConfig": {
38
39
  "access": "public"
39
40
  },
40
- "gitHead": "1ce7a7b0736385a8cd661b702e7b05832046e295"
41
+ "gitHead": "ec4a5d63ace4d215a77667eb47694fee3cb2f357"
41
42
  }
package/src/index.js CHANGED
@@ -31,6 +31,7 @@ if (process.env.NEXRENDER_REQUIRE_PLUGINS) {
31
31
  require('@nexrender/action-encode');
32
32
  require('@nexrender/action-upload');
33
33
  require('@nexrender/action-decompress');
34
+ require('@nexrender/action-image');
34
35
 
35
36
  require('@nexrender/provider-s3');
36
37
  require('@nexrender/provider-ftp');
@@ -277,7 +277,7 @@ Estimated date of change to the new behavior: 2023-06-01.\n`);
277
277
  fs.writeFileSync(logPath, outputStr);
278
278
 
279
279
  /* resolve job without checking if file exists, or its size for image sequences */
280
- if (settings.skipRender || job.template.imageSequence || ['jpeg', 'jpg', 'png', 'tif'].indexOf(outputFile) !== -1) {
280
+ if (settings.skipRender || job.template.imageSequence || ['jpeg', 'jpg', 'png', 'tif', 'tga'].indexOf(outputFile) !== -1) {
281
281
  settings.track('Job Render Finished', {
282
282
  job_id: job.uid, // anonymized internally
283
283
  job_finish_reason: 'skipped_check',
@@ -36,7 +36,7 @@ An example of how that might look like: { "outputModule": "h264", "outputExt": "
36
36
  }
37
37
 
38
38
  // NOTE: for still (jpg) image sequence frame filename will be changed to result_[#####].jpg
39
- if (job.template.outputExt && ['jpeg', 'jpg', 'png', 'tif'].indexOf(job.template.outputExt) !== -1) {
39
+ if (job.template.outputExt && ['jpeg', 'jpg', 'png', 'tif', 'tga'].indexOf(job.template.outputExt) !== -1) {
40
40
  job.resultname = 'result_[#####].' + job.template.outputExt;
41
41
  job.template.imageSequence = true;
42
42
  }