Skip to content

Commit

Permalink
added tif support for render image sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasprod committed Feb 7, 2024
1 parent 2917702 commit d068a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/nexrender-core/src/tasks/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ Estimated date of change to the new behavior: 2023-06-01.\n`);
fs.writeFileSync(logPath, outputStr);

/* resolve job without checking if file exists, or its size for image sequences */
if (settings.skipRender || job.template.imageSequence || ['jpeg', 'jpg', 'png'].indexOf(outputFile) !== -1) {
if (settings.skipRender || job.template.imageSequence || ['jpeg', 'jpg', 'png', 'tif'].indexOf(outputFile) !== -1) {
settings.track('Job Render Finished', {
job_id: job.uid, // anonymized internally
job_finish_reason: 'skipped_check',
Expand Down
2 changes: 1 addition & 1 deletion packages/nexrender-core/src/tasks/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ An example of how that might look like: { "outputModule": "h264", "outputExt": "
}

// NOTE: for still (jpg) image sequence frame filename will be changed to result_[#####].jpg
if (job.template.outputExt && ['jpeg', 'jpg', 'png'].indexOf(job.template.outputExt) !== -1) {
if (job.template.outputExt && ['jpeg', 'jpg', 'png', 'tif'].indexOf(job.template.outputExt) !== -1) {
job.resultname = 'result_[#####].' + job.template.outputExt;
job.template.imageSequence = true;
}
Expand Down

0 comments on commit d068a72

Please sign in to comment.