### Feature proposal - Component has a constructor that "Constructs an ImageCrop component with the given image." - Such constructor just copies `src` and `alt` attributes. - The signature `ImageCrop(Image)` conveys the expectation that the provided Image instance will be used. - This false expectation suggests that other settings, such as a StreamResource or DownloadHandler, will work (#22) https://github.com/FlowingCode/ImageCrop/blob/8fcf058c6b3674b7fced68355b9bcb5dcfe3c196/src/main/java/com/flowingcode/vaadin/addons/imagecrop/ImageCrop.java#L72-L75 ### Describe solution expectations `ImageCrop(Image)` must be deprecated. ### Additional information _No response_
Feature proposal
srcandaltattributes.ImageCrop(Image)conveys the expectation that the provided Image instance will be used.ImageCrop/src/main/java/com/flowingcode/vaadin/addons/imagecrop/ImageCrop.java
Lines 72 to 75 in 8fcf058
Describe solution expectations
ImageCrop(Image)must be deprecated.Additional information
No response