Home Events! Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
November 23, 2024 - @457.80 (what is this?)
Forum activity rating: Three Stars Posts: 31/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts    Start New Topic
News: :eyes: ~ Inconvenience is counterculture ~ :eyes:

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  GUIDE: Mac - Quick compressing images for the web with Automator


« previous next »
Pages: [1] Print
Author Topic: GUIDE: Mac - Quick compressing images for the web with Automator  (Read 1607 times)
Melooon
Hero Member ⚓︎
*****


So many stars!

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games

View Profile WWW

Thanks for being rad!a puppy for your travelsAlways My PalFirst 1000 Members!spring 2023!Squirtle!!!!MIDI WarriorMIDI Warrior1234 Posts!OzspeckCool Dude AwardRising Star of the Web AwardMessage BuddyPocket Icelogist!OG! Joined 2021!...
« on: June 05, 2022 @634.22 »

I just wanted to share a little trick I use for preparing images for the web. This is super handy if you are uploading screenshots or photographs to your site on a regular basis.

  • This guide requires a Mac using any vaguely modern OS.
  • First make sure you have ImageOptim installed in your Applications folder (its free)

Open Automator (it comes with your Mac) and create a new Automator Application; like this one:

Code
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:
cd "$HOME" || exit
/Applications/ImageOptim.app/Contents/MacOS/ImageOptim '/users/daniel/Desktop/image-output'
(Change the shell script to your name instead of "daniel":wink:

Save the autormator app to your desktop as "Web Compress Image". Done!

What does it do:
It creates an app on your desktop called "Web Compress Image", when you drag and drop an image onto that app it will..
  • Copy the image into a new folder so the original is not changed.
  • Resize the image to a max of 1000px wide (plenty big enough for any website)
  • Convert the image to a jpeg so it loads faster on the web
  • Runs ImageOptim on the image so that its fully compressed.
You can then upload the new compressed image to your website, and it was all done in one mouse move!

Handy extra tip: If you use Transmit for uploading files, you can go to Servers/Save as Droplet and make a ":grin:roplet" app that allows you to drag your image onto the droplet where it will be automaticity uploaded and a link will be copied to your clipboard!
« Last Edit: June 05, 2022 @638.54 by Melooon » Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

GUIDE: Melon's Simple X3D World Tutorial

Started by MelooonBoard ♺ ∙ Web Crafting Materials

Replies: 5
Views: 4755
Last post February 17, 2022 @637.75
by demonologi
GUIDE: How to fix links on a frame site! - MK Frame-Link System

Started by MelooonBoard ✁ ∙ Web Crafting

Replies: 9
Views: 10337
Last post March 10, 2024 @777.40
by Salty
Version's low bugdet and low performance gaming guide.

Started by VersionBoard ♖ ∙ Video Games

Replies: 3
Views: 1056
Last post August 26, 2022 @522.51
by Memory

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi