Can a JPEG compressed image be rotated without a loss in quality?

There is a program named jpegtran jpegtran – a utility for lossless transcoding between different JPEG formats. To rotate the image losslessly, you can do the following: $ jpegtran -rotate 180 -perfect -outfile rotated.jpg origin.jpg And Here is a list of applications which provide the JPEG lossless rotation feature based on the IJG code

Reducing video size with same format and reducing frame size

ffmpeg provides this functionality. All you need to do is run someting like ffmpeg -i <inputfilename> -s 640×480 -b 512k -vcodec mpeg1video -acodec copy <outputfilename> For newer versions of ffmpeg you need to change -b to -b:v: ffmpeg -i <inputfilename> -s 640×480 -b:v 512k -vcodec mpeg1video -acodec copy <outputfilename> to convert the input video file … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)