-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image shape + tool #33
Comments
This is possible and a PR would be welcome. There is one challenge: images can't be serialized in a self-contained way the same way as other shapes. Images should probably be stored by URL rather than bitmap data to avoid exploding the JSON blob size. This introduces a question of whether remote URLs should be supported—if so, there are also UI considerations to think about. If you're only working with local file URLs, it should be roughly as complex as the rectangle shape + tool. Though from my experience writing drawing libraries, the very first GitHub issue opened after releasing that tool will be to request remote images. :-) |
Hey Steve,
Thanks for the reply and providing the direction. Really appreciated it.
Regards,
Ashwin Shrestha
…On Sat, Sep 14, 2019 at 9:17 PM Steve Landey ***@***.***> wrote:
This is possible and a PR would be welcome. There is one challenge: images
can't be serialized in a self-contained way the same way as other shapes.
Images should probably be stored by URL rather than bitmap data to avoid
exploding the JSON blob size. This introduces a question of whether remote
URLs should be supported—if so, there are also UI considerations to think
about.
If you're only working with local file URLs, it should be roughly as
complex as the rectangle shape + tool. Though from my experience writing
drawing libraries, the very first GitHub issue opened after releasing that
tool will be to request remote images. :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#33?email_source=notifications&email_token=ALX2FODSXM53772KW5CQQXLQJT72BA5CNFSM4IUEA232YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6W6BII#issuecomment-531488929>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALX2FOEHUYJI72TAN5CWORLQJT72BANCNFSM4IUEA23Q>
.
|
Can we give support for image addition as a shape layer just like any other drawing tool?
The text was updated successfully, but these errors were encountered: