I am in this situation where I need to select a Flex type (image placeholder/image type/image container) for passing parameters in/out of different functions in an image editor. And, those different functions are either another image-manipulation/processing function or a function that display/render the image in a display component.
For example, I will ask other teammates to create a function that processes an image (possibly piped from other image processing functions, too), (let it be fancy or basic image processing from changing colors, to scaling, to segmentation, etc.).
Which of the two would you pick for passing in/out different functions? Display Object or bitmapData, and why (reusability, performance, standard practice, etc.)?