Steemit Posting HOW-TO Image

in #steemit7 years ago


Peace to Steemit


When you post new steemit story, images neeeded.
This post guides you HOW-TO Image in steemit.

  1. How to get Free image
  2. How to resize automatically (some batch job)

How to get free image

https://depositphotos.com/
https://www.megapixl.com/
https://pixabay.com/
https://shutterstock.com

https://www.pexels.com/
http://www.freeqration.com

License

CC0 (Creative Commons Zero) : completely free license

  • The pictures are free for personal and even for commercial use.
  • You can modify, copy and distribute the photos.
  • All without asking for permission or setting a link to the source.
    So, attribution is not required.

Other Free images requires abstraction.

How to resize

Now you can get images, but most of them are too large.
It is not good upload image as this size.
Shrinking needed.

What if you have dozens of image to shrink,
open image editor and scale down and save.

Linux has "convert" command line image tool
Shell script will help automatic image resizing.

convert tool option

convert between image formats
as well as resize an image, blur, crop,
despeckle, dither, draw on, flip, join,
re-sample, and much more

There are so many options, here let me say about resizing.

Set example.png width 1000 and save to example2.png
Height will be set with rate of example.png.

$ convert -resize 1000 example.png example2.png

Set example.png size 50%, save to example2.png

$ convert -resize 50% example.png example2.png

Example of shell script :

Images in ./travel will be converted to ./travel2
(travel2 folder must be created before)

#!/bin/bash
FILES=./travel/*
for f in $FILES
do
  fname=`basename $f`
  cmd="convert -resize 50% $f ./travel2/$fname"
  echo $cmd
  eval $cmd
done



You can easily modify the shell script as you want.

Sort:  

Good Article! Also, unsplash.com free (do whatever you want) high-resolution photos.

Nice source that I haven't seen before. Thanks for sharing.

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63635.72
ETH 2597.20
USDT 1.00
SBD 2.91