Closed Joelgranados closed 9 years ago
This is tricky as the resize component does not actually write the image. This feature needs to be added together with a way to differentiate between "main" components that change the image permanently and "output" components that change the image just to output it.
We can add a pipecomponent that is resizeAndWrite. It would be one component that will house both resize code and write code (it could use the already existing components) in one component. This will give the pipeline the ability to output to a resized image without changeing the size of the image going forward.
This is done in the latest commit on my branch
When we use the resizing pipe component, it always passes the resized image. We should give the option to the user to leave the size as is for the pipeline and save a resized version.
for reference https://github.com/borevitzlab/timestreamlib/pull/138/files#diff-7f25bbd35d62ff5e458c75ec35904540R319