Users browsing this thread: 3 Guest(s)
Improved Icons
#34
Drag 'n drop would require html5 which is a bit beyond my abilities at the moment. However I think this does what you want:

http://www.jermungandr.net/experiments/tsr-cropper.rar

How to use:
- Upload images or a folder containing images to the "original" folder.
- Open "index.php". Alter any of the default settings for each image as needed, then hit refresh to apply changes.
- Altered files will be saved in the "result" folder.

Here is a demo:
http://www.jermungandr.net/experiments/t.../index.php

Features:
- By default it tries to apply a transparency based on the color in position (0,0). This can be turned off if it is causing problems.
- Auto-Cropping attempts to trim empty pixels around the image in order to decrease the size of the file. This is on by default.
- If the image is less than half the size of the maximum 148x125 allowed file size, it offers the option to resize the image to fill more space, to a maximum of 4 times.
- If the image size is greater than the maximum allowed size, instead of failing the file altogether it attempts to simply crop the image. In these cases it will offer you a chance to decide how the image will be positioned.

I wish I could make you a java console or something so you can do this all right on your computer without involving a browser, but unfortunately all I know is web coding, so I hope this will be enough.
Thanked by:


Messages In This Thread
Improved Icons - by Dazz - 01-11-2014, 11:42 AM
RE: Improved Icons - by Deathbringer - 01-11-2014, 12:06 PM
RE: Improved Icons - by Broojo02 - 01-11-2014, 12:11 PM
RE: Improved Icons - by Dazz - 01-11-2014, 12:10 PM
RE: Improved Icons - by Frario - 01-11-2014, 12:50 PM
RE: Improved Icons - by Garamonde - 01-11-2014, 12:57 PM
RE: Improved Icons - by Dazz - 01-11-2014, 02:07 PM
RE: Improved Icons - by Random Talking Bush - 01-11-2014, 01:06 PM
RE: Improved Icons - by Deathbringer - 01-11-2014, 01:48 PM
RE: Improved Icons - by tigerlily - 01-11-2014, 01:57 PM
RE: Improved Icons - by Jermungandr - 01-11-2014, 03:17 PM
RE: Improved Icons - by Dazz - 01-11-2014, 04:22 PM
RE: Improved Icons - by Jermungandr - 01-11-2014, 07:23 PM
RE: Improved Icons - by Petie - 01-11-2014, 03:25 PM
RE: Improved Icons - by Jermungandr - 01-11-2014, 04:52 PM
RE: Improved Icons - by Dazz - 01-11-2014, 04:56 PM
RE: Improved Icons - by Dazz - 01-11-2014, 06:09 PM
RE: Improved Icons - by Petie - 01-11-2014, 08:00 PM
RE: Improved Icons - by TheShyGuy - 01-11-2014, 09:55 PM
RE: Improved Icons - by Jermungandr - 01-11-2014, 08:19 PM
RE: Improved Icons - by Jermungandr - 01-11-2014, 11:51 PM
RE: Improved Icons - by Petie - 01-11-2014, 08:50 PM
RE: Improved Icons - by Dazz - 01-12-2014, 04:27 AM
RE: Improved Icons - by Jermungandr - 01-12-2014, 11:49 AM
RE: Improved Icons - by Jermungandr - 01-12-2014, 12:30 PM
RE: Improved Icons - by Dazz - 01-12-2014, 05:34 AM
RE: Improved Icons - by Petie - 01-12-2014, 05:36 AM
RE: Improved Icons - by Dazz - 01-12-2014, 05:41 AM
RE: Improved Icons - by Petie - 01-12-2014, 06:17 AM
RE: Improved Icons - by Ton - 01-12-2014, 10:20 AM
RE: Improved Icons - by Dazz - 01-12-2014, 10:39 AM
RE: Improved Icons - by Dazz - 01-12-2014, 11:58 AM
RE: Improved Icons - by Dazz - 01-12-2014, 12:37 PM
RE: Improved Icons - by Jermungandr - 01-12-2014, 10:58 PM
RE: Improved Icons - by Dazz - 01-13-2014, 03:31 AM
RE: Improved Icons - by puggsoy - 01-13-2014, 11:24 PM
RE: Improved Icons - by Jermungandr - 01-15-2014, 01:39 AM
RE: Improved Icons - by Dazz - 01-15-2014, 07:15 AM
RE: Improved Icons - by Jermungandr - 01-15-2014, 12:56 PM
RE: Improved Icons - by Dazz - 01-16-2014, 06:38 AM
RE: Improved Icons - by Petie - 01-16-2014, 03:42 PM
RE: Improved Icons - by Cyrus Annihilator - 01-17-2014, 08:16 PM
RE: Improved Icons - by Petie - 01-17-2014, 08:57 PM
RE: Improved Icons - by Jermungandr - 01-17-2014, 11:08 PM
RE: Improved Icons - by Phaze - 01-18-2014, 07:58 AM
RE: Improved Icons - by Ton - 01-17-2014, 11:44 PM
RE: Improved Icons - by Dazz - 01-18-2014, 03:51 AM
RE: Improved Icons - by Jermungandr - 01-19-2014, 04:23 PM
RE: Improved Icons - by Dazz - 01-19-2014, 05:09 PM
RE: Improved Icons - by Petie - 01-19-2014, 05:26 PM
RE: Improved Icons - by Dazz - 01-19-2014, 05:58 PM
RE: Improved Icons - by Petie - 01-19-2014, 06:03 PM
RE: Improved Icons - by Dazz - 01-20-2014, 05:09 AM
RE: Improved Icons - by Dazz - 01-21-2014, 01:52 PM
RE: Improved Icons - by Random Talking Bush - 01-21-2014, 02:44 PM
RE: Improved Icons - by Jermungandr - 01-21-2014, 09:36 PM
RE: Improved Icons - by Dazz - 01-22-2014, 03:31 AM
RE: Improved Icons - by Garamonde - 01-22-2014, 04:50 PM
RE: Improved Icons - by Dazz - 01-22-2014, 05:22 PM
RE: Improved Icons - by Random Talking Bush - 01-22-2014, 05:36 PM
RE: Improved Icons - by Sengir - 01-22-2014, 05:38 PM
RE: Improved Icons - by Sengir - 01-22-2014, 06:51 PM
RE: Improved Icons - by Arima - 05-23-2014, 09:32 PM
RE: Improved Icons - by Petie - 05-23-2014, 09:51 PM

Forum Jump: