Jump to content

Geoffrey

Member
  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Geoffrey got a reaction from shmulvad in TinyPNG   
    @shmulvad Thank you very much! I'm already enjoying the workflow a lot and these fixes really are the icing on the cake. Great work! 🙂
  2. Like
    Geoffrey got a reaction from shmulvad in TinyPNG   
    Hey mate. Thanks for creating this workflow. It sounds exactly like something that would be very handy in my work processes, as I deal with image compression a lot. Unfortunately, I'm running into an error when running an error shown below:
     
    [14:49:56.955] TinyPNG[Script Filter] Queuing argument '' [14:49:57.122] TinyPNG[Script Filter] Script with argv '(null)' finished [14:49:57.126] TinyPNG[Script Filter] {"items": [{"title": "COMPRESS: Compress image(s)", "subtitle": "Compresses image(s)", "arg": "COMPRESS", "uid": "COMPRESS"}, {"title": "SCALE: Scale prop. down by *either* height or width", "subtitle": "Usage: I.e. \"w800\" or \"h500\"", "valid": false, "arg": "SCALE", "uid": "SCALE", "icon": {"path": "scale.png"}}, {"title": "FIT: Scale prop. down within width and height", "subtitle": "Usage: \"width height\", i.e. \"800 500\"", "valid": false, "arg": "FIT", "uid": "FIT", "icon": {"path": "fit.png"}}, {"title": "COVER: Scale and crop down to exactly width and height", "subtitle": "Usage: \"width height\", i.e. \"800 500\"", "valid": false, "arg": "COVER", "uid": "COVER", "icon": {"path": "cover.png"}}, {"title": "THUMB: Advanced scale and crop to exactly width and height", "subtitle": "Usage: \"width height\", i.e. \"800 500\"", "valid": false, "arg": "THUMB", "uid": "THUMB", "icon": {"path": "thumb.png"}}], "variables": {"axis": 0, "len": 0, "width": 0, "height": 0}} [14:49:59.029] TinyPNG[Script Filter] Processing complete [14:49:59.038] TinyPNG[Script Filter] Passing output 'COMPRESS' to Conditional [14:49:59.041] TinyPNG[Conditional] Processing complete [14:49:59.043] TinyPNG[Conditional] Passing output 'COMPRESS' to Run Script [14:49:59.045] TinyPNG[Script Filter] Passing output 'COMPRESS' to Run Script [14:50:00.075] TinyPNG[Run Script] Processing complete [14:50:00.087] TinyPNG[Run Script] Passing output '"/Users/geoffrey/Desktop/achtergrond-tenniszaal.png:" COMPRESS ********************** 0 0 0 0 ' to Post Notification [14:50:00.090] TinyPNG[Run Script] Passing output '"/Users/geoffrey/Desktop/achtergrond-tenniszaal.png:" COMPRESS ********************** 0 0 0 0 ' to Run Script [14:50:00.194] ERROR: TinyPNG[Run Script] Traceback (most recent call last): File "tiny_upload.py", line 5, in <module> import tinify File "/Users/geoffrey/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F8ABF891-4B1F-4AC7-8D88-44C494B28EA9/tinify/__init__.py", line 92, in <module> from .client import Client File "/Users/geoffrey/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F8ABF891-4B1F-4AC7-8D88-44C494B28EA9/tinify/client.py", line 7, in <module> import requests ModuleNotFoundError: No module named 'requests' [14:50:00.211] TinyPNG[Run Script] Processing complete [14:50:00.213] TinyPNG[Run Script] Passing output '' to Post Notification  
    Also, as a little suggestion for improvement: could you make the automatic backup image an optional setting? In my workflow, I only need to compress the image, not create a backup copy (as I can easily get that back myself if something goes wrong).
     
    I hope you could help me out with this. Thanks a bunch and have a great weekend.
×
×
  • Create New...