arildr Posted February 17, 2015 Share Posted February 17, 2015 I have 6000 jpg's and need to edit them and than edit new pictures in this way. Lets say i have a picture called test_1.jpg 200x100 pixels Today i use Gimp and do this: 1. Remove the "image comment" and replase it with "This is my picture" 2. Save it with 85% quality 3. Make it 200x200 centered and flaten ( remove transparent ) 4. Resize to 100x100 and saves it as test.jpg 85% quality This way it will take years, so a PHP prog would make my life easyer. ...or do i have to make a Gimp script? ( May the force be with me ) Quote Link to comment Share on other sites More sharing options...
kierany5 Posted February 17, 2015 Share Posted February 17, 2015 PHP can do this. See the doc: http://php.net/manual/en/book.image.php Use imagecreatefromjpeg() then the rest is quite simple from the docs. JPGs don't have transparency, so how can you remove it? Quote Link to comment Share on other sites More sharing options...
raphael75 Posted February 17, 2015 Share Posted February 17, 2015 Irfanview has a lot of advanced batch operations: http://www.irfanview.com/ Quote Link to comment Share on other sites More sharing options...
CroNiX Posted February 17, 2015 Share Posted February 17, 2015 Additionally, you can use the PEL library to edit the jpg's exif data. Quote Link to comment Share on other sites More sharing options...
vshaikes Posted February 18, 2015 Share Posted February 18, 2015 ^HA#:1:t~somesite||com^ ^HM#:2^ ^HV#:11^ I found this useful when working with jpegs: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.