Image Cropper

FREEMIUM
Par BLACKTREES | Mise à jour לפני 16 ימים | Tools
Popularité

7.2 / 10

Latence

1,773ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

is there any way to get the image in base64 format?

Rapid account: Onsalegr U 8 Hivb 6 Ic H
onsalegr-U8Hivb6Ic-H
לפני שנתיים

gf

Rapid account: Blacktrees
blacktrees Commented לפני שנתיים

Hi, thanks for reaching out. I am always interested to implement feature requests. But i have to make sure this fits in the main purpose of the API.

Base64 encoding looks like a good addition. But it is useless without the mimetype. I can implement a JSON response with the aditional meta information. Somthing like:

{ 
	'mime': 'image/png', 
	'encoding': 'base64', 
	'data': 'Rw0KGgoAAA...'
}

from here it is simple to build a image uri or save it for other usecases.

<img src="data:image/jpeg;base64,Rw0KGgoAAA...">

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires