Answer the question
In order to leave comments, you need to log in
Is it possible to preload images in Angular for further cropping?
Good afternoon!
Faced such a problem. You need to upload several images to the page, each of which will weigh several meters. On the backend, there is no way to scribble them to the desired size before issuing them. That is, it remains only to accept these "sheets" and adjust them on the client side. It seems to me that such a page is obviously a corpse. Tell me what is the best way to proceed in this case? django/angular project
Answer the question
In order to leave comments, you need to log in
Load pictures into the DOM by creating an image element with the right references to your "sheets", after loading put them in the canvas and do whatever you want with this canvas.
Something like this: stackoverflow.com/questions/6011378/how-to-add-ima
... as if angular has nothing to do with it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question