iBase64
- Encode your images with base64 - Decode your base64 image and save it to the camera roll
arirafiqОтсканируй на iPhone, чтобы установить
Просмотр
- Encode your images with base64 - Decode your base64 image and save it to the camera roll
Что нового
Версия 1.0
First release
Что делает
Действий: 13-
CommentAuthor: Ari R. Abdulla - Encode your images with base64 - Decode your base64 image and save it to the camera roll
-
Choose from Menu
-
Choose from MenuImage to Base64
-
Select Photos
-
Base64 Encode
-
Copy to Clipboard
-
Show Result
-
Choose from MenuBase64 to Image
-
Ask for InputYour Base64?
-
Base64 Encode
-
Get Images from Input
-
Show Result
-
Save to Photo Album
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/sharing'
#include 'actions/photos'
#define color darkgray
#define glyph boxFilled
/*
Author: Ari R. Abdulla
- Encode your images with base64
- Decode your base64 image and save it to the camera roll
*/
menu nil {
item "Image to Base64":
const Photos = selectPhotos()
const Base64Encoded = base64Encode(Photos)
setClipboard(Base64Encoded)
show("Copied to Clipboard!")
item "Base64 to Image":
const ProvidedInput = prompt("Your Base64?")
const Base64Encoded1 = base64Encode(ProvidedInput)
const Images = getImages(Base64Encoded1)
show(Images)
savePhoto(Images)
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от arirafiq
Вам также может понравиться
Реклама