What is the best possible way for rotating a base64 image data for multiple images in Angular?

46 views
Skip to first unread message

Raghu Ram

unread,
Nov 14, 2019, 4:50:16 AM11/14/19
to Angular and AngularJS discussion
Hi,

What is the best possible way for rotating a base64 image data for multiple images in Angular? I have used canvas but it's becoming slow when we rotate multiple images. Please provide a module or any other solution that works in IE, Chrome, Firefox etc.

Regards
Raghu Ram

Sander Elias

unread,
Nov 14, 2019, 5:03:41 AM11/14/19
to Angular and AngularJS discussion
Hi Ragu,

Use css transform rotate.

Regards
Sander

Hervé Le Cornec

unread,
Nov 14, 2019, 5:05:03 AM11/14/19
to Angular and AngularJS discussion
Hello Raghu,

Actually you will always get a problem here. The image manipulation is an heavy process for the CPU, and even more for the javascript engine of the browser. So the performances will be bad, except for small amount of small images. So in my sens the image manipuation should be managed on the server, with an imagemagik for instance.

Sorry to have only this sad opinion to give you.

Regards
Herve

Raghu Ram

unread,
Nov 14, 2019, 5:20:15 AM11/14/19
to Angular and AngularJS discussion
Hi Sander,

As css rotate don't give us base64 data, please provide me any other solution.

Regards
Raghu Ram

Raghu Ram

unread,
Nov 14, 2019, 8:55:00 AM11/14/19
to Angular and AngularJS discussion
 Hi,

 Can you suggest any module for rotating a base64 image that works in IE, Chrome, Firefox etc
 Regards
 Raghu Ram

SUCINDRAN.M

unread,
Nov 14, 2019, 11:04:42 AM11/14/19
to ang...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angular/23164e6b-ed84-4243-aeac-8b7f7214f6a7%40googlegroups.com.


--
Thanks and Regards,

Sucindran.M
+91 9962242531

Raghu Ram

unread,
Nov 15, 2019, 1:48:45 AM11/15/19
to Angular and AngularJS discussion
Hi,

    I require base64 data but the solution you have provided don't generate base64 data. Thanks for replying.
  
    Regards
    Raghu Ram
Reply all
Reply to author
Forward
0 new messages