Image Cropper

フリーミアム
よって BLACKTREES | 更新済み 16 giorni fa | Tools
人気

7.2 / 10

レイテンシー

1,773ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

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

gf

Rapid account: Blacktrees
blacktrees Commented 2 anni fa

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...">

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿