Jump to content


Photo

image converter?


  • Please log in to reply
3 replies to this topic

#1 addybo

  • Senior Member
  • 45 posts

0
Neutral

Posted 12 July 2015 - 02:25

hi is someone here who knew to convert a jpg 1920x1080 image to png 1280x720 image, with compression?

 

I already tried it with libav package and use this code:

avconv -i /tmp/img.jpg -vf scale=1280:720 /tmp/img.png

but the png file is about 2mb, with pngquant about 500kb, but this take really long time to compress



Re: image converter? #2 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 12 July 2015 - 10:14

Try to add -qscale, -q or -q:v (depending on the version of avconv). 0 is highest quality higher values are lower quality.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: image converter? #3 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 12 July 2015 - 11:38

In enigma2 - python-image can also do this.

 

On pc - gimp is easy to use.



Re: image converter? #4 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 12 July 2015 - 11:45

If you have access to a windows pc/laptop try http://www.filehippo...load_paint.net/ ;)


Open Vision sources: https://github.com/OpenVisionE2



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users