Image resizing and compression locally

paperjam
9 Posts
paperjam posted this 24 June 2020
Wishlist

It could be nice to add operations to resize and compress image locally before generating the output

On Mac OS at console you simply need to

Then simply type 

sips -Z 1024 *.jpg 

and you're done.

So what is happening here?

• sips is the command and -Z keeps the image's aspect ratio.
• "1024" is the maximum width and height.
• "*.jpg" converts every image ending in .jpg.

For Compression ImageOptim is also available for command line operations

https://blog.daskepon.com/image-compression-tools-on-macos/

It could be nice to add operations to resize and compress image locally before generating the output On Mac OS at console you simply need to Then simply type  sips -Z 1024 *.jpg  and you're done. So what is happening here? • sips is the command and -Z keeps the image's aspect ratio. • "1024" is the maximum width and height. • "*.jpg" converts every image ending in .jpg. For Compression ImageOptim is also available for command line operations https://blog.daskepon.com/image-compression-tools-on-macos/
Vote to pay developers attention to this features or issue.
2 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 24 June 2020

Hi,

Thank you for contacting us.
We added your request to our wish list.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, Thank you for contacting us. We added your request to our wish list. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
paperjam
9 Posts
paperjam posted this 25 June 2020

Hi Olivia

With the resizing, there's 2 elements :

Size for type of screens + Compression

  • resizing for the different views (desktop, laptop, tablet, mobile H, mobile V)
  • media-queries integration

Conversion from JPEG to WEBP through online service

I know that you've added this request to the feature list

[Option 1 : local conversion with Cwebp][2]

cwebp -q 50 -lossless picture.png -o picture_lossless.webp
cwebp -q 70 picture_with_alpha.png -o picture_with_alpha.webp
cwebp -sns 70 -f 50 -size 60000 picture.png -o picture.webp
cwebp -o picture.webp -- ---picture.png

Hi Olivia With the resizing, there's 2 elements : ### Size for type of screens + Compression - resizing for the different views (desktop, laptop, tablet, mobile H, mobile V) - media-queries integration ### Conversion from JPEG to WEBP through online service [I know that you've added this request to the feature list][1] [**Option 1** : local conversion with Cwebp][2] cwebp -q 50 -lossless picture.png -o picture_lossless.webp cwebp -q 70 picture_with_alpha.png -o picture_with_alpha.webp cwebp -sns 70 -f 50 -size 60000 picture.png -o picture.webp cwebp -o picture.webp -- ---picture.png [1]: https://nicepage.com/questions/17347/webp-format-images
You must log in or register to leave comments