Which would you prefer for function's input? Flex's DisplayObject or Flex's BitmapData?
I am in this situation where i need to select a Flex's 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)?

Yes, i truly need your knowledgable advice.   Thanks in advance.  Let me know if you need more details from me, i'll edit this post immediately.  



Which would you prefer for function's input? Flex's DisplayObject or Flex's BitmapData?
===

I am in this situation where i need to select a Flex's 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)?

Yes, i truly need your knowledgable advice.   Thanks in advance.  Let me know if you need more details from me, i'll edit this post immediately.  


