Project

General

Profile

Actions

Bug #46795

closed

Scope of ProcessedFile cannot be modified

Added by Oliver Hader over 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-03-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

A ProcessedFile is used to generate a preview or crop-scaled version of a File. Actually a Task implementing the TaskInterface defines the basics and an accordant Helper object takes care of the modifications to that file. There are pre-process and post-process signals that seem to be useless in modifying the scope of a particular task, however.

Imagine a file shall be pre-processed (e.g. color profile transformation) and that result shall be used for resizing.
The current task implementation is using the original file directly, however the task actually shall define which is the source (the original file) the modifications shall be based on.

This change modifies the TaskInterface with a getSourceFile() method to overcome this limitation.

Actions

Also available in: Atom PDF