Accessing JPEG EXIF rotation data in JavaScript on the client side

If you only want the orientation tag and nothing else and don’t like to include another huge javascript library I wrote a little code that extracts the orientation tag as fast as possible (It uses DataView and readAsArrayBuffer which are available in IE10+, but you can write your own data reader for older browsers): function … Read more

Python Image Library fails with message “decoder JPEG not available” – PIL

libjpeg-dev is required to be able to process jpegs with pillow (or PIL), so you need to install it and then recompile pillow. It also seems that libjpeg8-dev is needed on Ubuntu 14.04 If you’re still using PIL then you should really be using pillow these days though, so first pip uninstall PIL before following … Read more

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