alfredapp / automation-tasks

Official Alfred Automation Tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert Image Format fails if output folder does not exist

luckman212 opened this issue · comments

Hi @vitorgalvao

Today I decided to try out AT to convert some TIFF images (from clipboard history) to PNG format for editing in CleanShot X. (Works great!)

Only problem is, I selected /tmp/converted_images as my Output Folder so I can clean up those temp files later. I tested the workflow again after deleting this folder, and it fails. It converts the image but instead of recreating the missing output folder, it simply named the output file as the folder name. I tried to look at the code but with all the backslash escaping I found it a bit hard to grok.

I'm sure it's a simple fix of testing for the output folder's existence and creating it if missing.

Thank you!

image

Thank you for yet another nice catch! This has been fixed in 2022.14.