Skip to content

Commit

Permalink
Merge pull request #991 from rsn-graphics/update/add_tga
Browse files Browse the repository at this point in the history
Add tga as option for image sequences
  • Loading branch information
inlife authored May 10, 2024
2 parents 1ce7a7b + ef1967f commit 20fe2f0
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 @@ -277,7 +277,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', 'tif'].indexOf(outputFile) !== -1) {
if (settings.skipRender || job.template.imageSequence || ['jpeg', 'jpg', 'png', 'tif', 'tga'].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', 'tif'].indexOf(job.template.outputExt) !== -1) {
if (job.template.outputExt && ['jpeg', 'jpg', 'png', 'tif', 'tga'].indexOf(job.template.outputExt) !== -1) {
job.resultname = 'result_[#####].' + job.template.outputExt;
job.template.imageSequence = true;
}
Expand Down

0 comments on commit 20fe2f0

Please sign in to comment.