Default image when there is no input
Opened this issue · 4 comments
Unfortunately, there is not currently.
Technically, it should be possible. Let me think about adding such a feature to Softcam.
Thank you for your request!
- Test with minimum implementation
- Implement providing a fixed image when no upstream
- Implement loading an image file
- Test
- Update documents
As a first step, I confirmed with a minimum implementation that it's possible! It works.
If a default image is provided to a client app and a valid server becomes available after that, it is required to switch the image to provide to the client from the default image to the image from the server.
I found a big limitation in that scenario.
The client app may not accept changing the dimension of the image because it may check the dimension only once when the connection establishes.
So the dimensions of the default image and the images from the server should be equal. Otherwise, something unexpected can happen.