Image Cropper

부분 유료
분류별 BLACKTREES | 업데이트됨 16 days ago | 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 years ago

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입