Media Utilities
Convert Image formats, upscale/downscale images, and more, all in one shortcut!
omegabird113Escanea con tu iPhone para instalar
Vista previa
Convert Image formats, upscale/downscale images, and more, all in one shortcut!
Note: It requires Omega’s Dev Tools.
Novedades
Versión 1.0
First release
Qué hace
134 acciones-
Dictionary
-
If
-
Stop and Output
-
Run ShortcutOmega’s Dev Tools
-
Choose from MenuSelect the category of what you'd like to do:
-
Choose from MenuConvert media to another format
-
Choose from MenuSelect the conversion to be made:
-
Choose from MenuVideo To Audio
-
Select Photos
-
Encode Media
-
Set VariableConRES
-
Choose from MenuPDF to Photo
-
Select File
-
Make Image from PDF Page
-
Set VariableConRES
-
Choose from MenuPhoto to PDF
-
Select Photos
-
Make PDF
-
Set VariableConRES
-
Choose from MenuGIF to Video
-
Select File
-
Make Video From GIF
-
Set VariableConRES
-
Choose from MenuVideo to GIF
-
Select Photos
-
Make GIF
-
Choose from MenuPhoto to Photo (Converts to another photo format)
-
Select Photos
-
Convert Image
-
Set VariableConRES
-
Choose from MenuText To Hash
-
Ask for InputEnter text to be converted:
-
Generate Hash
-
Set VariableConRES
-
Choose from MenuBack
-
Run ShortcutMedia Utilities
-
Choose from MenuCancel
-
Stop and Output
-
Random Number
-
Save File
-
Quick Look
-
Choose from MenuImage Utilities
-
Choose from MenuWhat would you like to do with your image?
-
Choose from MenuResize Image (Upscale/Downscale image)
-
Select Photos
-
Set VariableinProgressImg
-
Resize Image
-
Set VariableimgRES
-
Choose from MenuFlip Image(s)
-
Select Photos
-
Set VariableinProgressImg
-
Flip Image
-
Set VariableimgRES
-
Choose from MenuRotate Image/Video(s)
-
Select Photos
-
Set VariableinProgressImg
-
Rotate Media
-
Set VariableimgRES
-
Choose from MenuBlur Image(s)
-
Select Photos
-
Set VariableinProgressImg
-
Blur Imagescom.sindresorhus.Actions
-
Set VariableimgRES
-
Choose from MenuRemove Background
-
Select Photos
-
Set VariableinProgressImg
-
Remove Image Background
-
Set VariableimgRES
-
Choose from MenuOverlay Image
-
Select Photos
-
Select Photos
-
Overlay Image
-
Set VariableimgRES
-
Choose from MenuCrop Image
-
Select Photos
-
Set VariableinProgressImg
-
Crop Image
-
Set VariableimgRES
-
Choose from MenuGet average color of image
-
Select Photos
-
Set VariableinProgressImg
-
Get Average Color Of Imagecom.sindresorhus.Actions
-
Create Color Imagecom.sindresorhus.Actions
-
Set VariableimgRES
-
Choose from MenuExtract Text from Image
-
Select Photos
-
Set VariableinProgressImg
-
Extract Text from Image
-
Set VariableimgRES
-
Choose from MenuGet Image Details
-
Select Photos
-
Get Details of Images
-
Get Details of Images
-
Get Details of Images
-
Get Details of Images
-
Get Details of Images
-
Get Details of Images
-
Get Details of Images
-
Text
-
Set VariableimgRES
-
Choose from MenuBack
-
Run ShortcutMedia Utilities
-
Choose from MenuCancel
-
Stop and Output
-
Random Number
-
Save File
-
Quick Look
-
Choose from MenuReincode Media
-
Select Photos
-
Encode Media
-
Quick Look
-
Choose from MenuManage .txt files
-
Choose from MenuWhich would you like to do?
-
Choose from MenuCraete a .txt file
-
Ask for InputWhat’s the file name you want to put it in?
-
Ask for InputWhat text would you like to save?
-
Set Name
-
Save File
-
Choose from MenuEdit a .txt file
-
Select File
-
Ask for InputWhat text do you want in this file?
-
Overwrite Filecom.sindresorhus.Actions
-
Choose from MenuBack
-
Run ShortcutMedia Utilities
-
Choose from MenuCancel
-
Stop and Output
-
Choose from MenuExit
-
Stop and Output
-
Choose from MenuWould you like to run this again?
-
Choose from MenuYes
-
Run ShortcutMedia Utilities
-
Stop and Output
-
Choose from MenuNo
-
Stop and Output
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/photos'
#define color blue
#define glyph clipboard
const odvtInputDictionary = {
"allowDvToolUpdates": false,
"currentVer": "1.1.1",
"dev": "Omegabird113",
"input": "checkForUpdates",
"routinehubID": "16564",
"shortcutName": "Media Utilities"
}
if ShortcutInput == "outputUpdateInfo" {
output(odvtInputDictionary)
}
runSelf(odvtInputDictionary)
menu "Select the category of what you'd like to do:" {
item "Convert media to another format":
menu "Select the conversion to be made:" {
item "Video To Audio":
const Photos = selectPhotos()
encodeAudio(Photos, Ask)
@ConRES
item "PDF to Photo":
const File = selectFile()
makeImageFromPDFPage(File)
@ConRES
item "Photo to PDF":
const Photos1 = selectPhotos()
makePDF(Photos1)
@ConRES
item "GIF to Video":
const File1 = selectFile()
makeVideoFromGIF(File1)
@ConRES
item "Video to GIF":
const Photos2 = selectPhotos(false)
makeGIF(Photos2, Ask)
item "Photo to Photo (Converts to another photo format)":
const Photos3 = selectPhotos()
convertImage(Photos3, Ask)
@ConRES
item "Text To Hash":
const ProvidedInput = prompt("Enter text to be converted:")
hash(ProvidedInput, Ask)
@ConRES
item "Back":
runSelf()
item "Cancel":
output("Ended Early")
}
randomNumber(0, 1024576)
saveFile("{}-inUse", @ConRES, true)
quicklook(@ConRES)
item "Image Utilities":
menu "What would you like to do with your image?" {
item "Resize Image (Upscale/Downscale image)":
selectPhotos(false)
@inProgressImg
resizeImageByPercent(@inProgressImg, "")
@imgRES
item "Flip Image(s)":
selectPhotos(true)
@inProgressImg
flipImage(@inProgressImg, Ask)
@imgRES
item "Rotate Image/Video(s)":
selectPhotos(true)
@inProgressImg
rotateMedia(@inProgressImg, Ask)
@imgRES
item "Blur Image(s)":
selectPhotos(true)
@inProgressImg
rawAction("com.sindresorhus.Actions.BlurImages", {
"AppIntentDescriptor": "",
"amount": "Ask",
"images": "@inProgressImg"
})
@imgRES
item "Remove Background":
selectPhotos(true)
@inProgressImg
removeBackground(@inProgressImg, Ask)
@imgRES
item "Overlay Image":
const Photos5 = selectPhotos()
const Photos4 = selectPhotos()
customImageOverlay(Photos4, Photos5)
@imgRES
item "Crop Image":
selectPhotos()
@inProgressImg
cropImage(@inProgressImg, Ask, Ask, Ask)
@imgRES
item "Get average color of image":
selectPhotos()
@inProgressImg
rawAction("com.sindresorhus.Actions.GetAverageColorOfImage", {
"AppIntentDescriptor": "",
"image": "@inProgressImg"
})
rawAction("com.sindresorhus.Actions.CreateColorImageIntent", {
"AppIntentDescriptor": "",
"color": "{}",
"height": "768",
"opacity": "",
"width": "768"
})
@imgRES
item "Extract Text from Image":
selectPhotos(false)
@inProgressImg
extractImageText(@inProgressImg)
@imgRES
item "Get Image Details":
const Photos6 = selectPhotos()
getImageDetail(Photos6, "Width")
getImageDetail(Photos6, "Height")
getImageDetail(Photos6, "Date Taken")
getImageDetail(Photos6, "Location")
getImageDetail(Photos6, "Duration")
getImageDetail(Photos6, "Frame Rate")
getImageDetail(Photos6, "Media Type")
@imgRES = "-- Basic Info --\nName: {Photos6}\nWidth: {} & Height: {}\nDate Taken: {}\nLocation: {}\n\n-- Video Info --\nDuration: {}\nFrame Rate: {}\n\n-- More Info --\nMedia Type: {}"
item "Back":
runSelf()
item "Cancel":
output("Ended Early")
}
randomNumber(0, 1024576)
saveFile("{}-inUse", @imgRES, true)
quicklook(@imgRES)
item "Reincode Media":
const Photos7 = selectPhotos(false)
const EncodedMedia = setMetadata(Photos7, Ask, Ask)
quicklook(EncodedMedia)
item "Manage .txt files":
menu "Which would you like to do?" {
item "Craete a .txt file":
const Filename = prompt("What’s the file name you want to put it in?")
const Text = prompt("What text would you like to save?")
const RenamedItem = setName(Text, Filename)
saveFilePrompt(RenamedItem)
item "Edit a .txt file":
const File2 = selectFile()
const ProvidedInput1 = prompt("What text do you want in this file?")
rawAction("com.sindresorhus.Actions.OverwriteFile", {
"AppIntentDescriptor": "",
"destination": "File2",
"source": "ProvidedInput1"
})
item "Back":
runSelf()
item "Cancel":
output("Ended Early")
}
item "Exit":
output("Ended Early")
}
menu "Would you like to run this again?" {
item "Yes":
runSelf()
output()
item "No":
output("Success")
}
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de omegabird113
También te puede gustar
Publicidad