Login About Gallery
A Deep Thought
Accepts
Images
COMMENT
‎Here you can adjust some values: If TextAboveImg is false, the text will be put into the image. Anything with font should be clear (weight=thickness), Text to top=Space between text and top, TextToPhoto=Space between text and photo. Grayscale% is the intensity of the black&white filter and BGColor is the color of the background
DICTIONARY
SCRIPTING
‎If ‎Shortcut Input ‎has any value
MEDIA
‎Get images from ‎Shortcut Input
SCRIPTING
‎Otherwise
PHOTOS
‎Select photos
Select Multiple
SCRIPTING
‎End If
MEDIA
‎Convert ‎If Result ‎to ‎PNG
‎Options Under Construction
MEDIA
‎Resize ‎Converted Image ‎to ‎1000 ‎x ‎Auto Height
SCRIPTING
‎Mode ‎Resized Image ‎with base64
VARIABLES
‎Set variable ‎ThoughtFulImage ‎to ‎Base64 Encoded
SCRIPTING
‎Continue in Shortcuts app
COMMENT
‎-webkit-filter: grayscale(50%);
SCRIPTING
‎Ask ‎Enter your Thought
Input Type
‎Text
Default Answer
‎Text
SCRIPTING
‎Get ‎All Keys ‎in ‎Dictionary
SCRIPTING
‎Repeat with each item in ‎Dictionary Value
SCRIPTING
‎Get ‎Value ‎for ‎Repeat Item ‎in ‎Dictionary
DOCUMENTS
‎Replace ‎, ‎with ‎. ‎in ‎Dictionary Value
Case Sensitive
Regular Expression
SCRIPTING
‎Set ‎Repeat Item ‎to ‎Updated Text ‎in ‎Dictionary
VARIABLES
‎Set variable ‎NewDictionary ‎to ‎Dictionary
SCRIPTING
‎End Repeat
SCRIPTING
‎Get ‎Value ‎for ‎TextAboveImg ‎in ‎Dictionary
SCRIPTING
‎If ‎Dictionary Value ‎is ‎<value>
MATHS
‎TextToTop ‎+ ‎FontSize
‎Options Under Construction
MATHS
‎Calculation Result ‎+ ‎TextToPhoto
‎Options Under Construction
DOCUMENTS
‎Replace ‎, ‎with ‎. ‎in ‎Calculation Result
Case Sensitive
Regular Expression
SCRIPTING
‎Otherwise
NUMBER
‎0
SCRIPTING
‎End If
TEXT
‎<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style type="text/css"> body{ height: 100vh; width: 100vw; display: flex; flex-direction:column; align-items:center; justify-content:space-between; overflow:hidden; margin: 0; } blurredBG { background: url(data:image/gif;base64, ‎NewDictionary ‎) no-repeat center top; -webkit-background-size: contain; position: absolute; top: ‎If Result ‎px; bottom: 0; left: 0; right: 0; overflow: hidden; transform: scale(1); -webkit-filter: url('#blur'); -webkit-filter: blur(0em); -webkit-filter: grayscale( ‎BGColor ‎%); z-index: 0; } .sbox { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: ‎NewDictionary ‎; opacity: 1; z-index: -2; } .stitle { text-align: ‎Provided Input ‎; position: absolute; top: ‎NewDictionary ‎px; left: 5px; right: 5px; color: ‎FontColor ‎; font: ‎NewDictionary ‎px ' ‎ThoughtFulImage ‎'; font-weight: 700; letter-spacing: 0; line-height: ‎Font ‎px; z-index: 2; } .meta { margin-top: 1.5em; } .container { display: flex; flex-direction: column; align-items: center; margin-top: 100px; } </style> </head> <body> <div></div> <div class="container"> <div class="sbox"></div> <div class="stitle"> ‎NewDictionary ‎</div> </div> <blurredBG></blurredBG> </body> </html>
DOCUMENTS
‎Make rich text from ‎Text
DOCUMENTS
‎Make PDF from ‎Rich Text from HTML
Include
‎All Pages
MEDIA
‎Convert ‎PDF ‎to ‎PNG
‎Options Under Construction
MATHS
‎Converted Image ‎÷ ‎Resized Image
‎Options Under Construction
MATHS
‎Resized Image ‎× ‎Calculation Result
‎Options Under Construction
DOCUMENTS
‎Replace ‎. ‎with ‎, ‎in ‎If Result
Case Sensitive
Regular Expression
MATHS
‎Updated Text ‎× ‎Calculation Result
‎Options Under Construction
MATHS
‎Calculation Result ‎+ ‎Calculation Result
‎Options Under Construction
MEDIA
‎Crop ‎Converted Image
Position
‎Top Left
Width
‎Converted Image
Height
‎Calculation Result
DOCUMENTS
‎Show ‎Cropped Image ‎in Quick Look
SCRIPTING
‎Choose from Menu
SCRIPTING
‎Save Image
SCRIPTING
‎Lower Resolution
MATHS
‎Cropped Image ‎÷ ‎5
‎Options Under Construction
MATHS
‎Cropped Image ‎÷ ‎5
‎Options Under Construction
MEDIA
‎Resize ‎Cropped Image ‎to ‎Calculation Result ‎x ‎Calculation Result
DOCUMENTS
‎Show ‎Resized Image ‎in Quick Look
SCRIPTING
‎End Menu
PHOTOS
‎Save ‎Menu Result ‎to ‎Ask Each Time

Showcuts

Magic Vars

Screenshot

Submitted by rettiwtwong 2 years ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0