=== waltman_ is now known as waltman | ||
=== square-r10t is now known as square-r00t | ||
InHisName1 | Morning | 05:48 |
---|---|---|
rmg51 | Morning | 10:18 |
InHisName1 | Morning again | 13:04 |
teddy-dbear | Morning peoples, dogs, turkeys, hamsters and everything else | 13:12 |
=== Pici` is now known as Pici | ||
=== InHisName1 is now known as InHisName | ||
InHisName | Que Pasa ? | 14:33 |
pvl1_ | im soo sore | 16:04 |
InHisName | I have several photo applicaitons. Which will be able to change X x Y pixels to 460 x 284 pixels ? A ImageMagick, B gimp, C Shotwell viewer, D. Shutter, E. FireFox | 19:42 |
InHisName | I know one of the non gimp ones did, but I cant find the process to do it now. | 19:43 |
pvl1_ | i just use gimp, cuz its the only one i know how to use and it can do everything ive needed | 19:50 |
teddy-dbear | imagemagic can do it | 19:52 |
=== pvl1_ is now known as pvl1 | ||
waltman | imagemagick can do it, and since it's a command like tool it can be easily scripted | 20:23 |
JonathanD | I just did this with imagemagick | 20:35 |
waltman | If you're comfortable with the command line, you can do that easily with imagemagick. | 20:36 |
waltman | actually today I've been writing a new little image cropping tool. in matlab. :( | 20:37 |
InHisName | Wow, that sound better than doing gui messing around with each one. | 20:37 |
waltman | http://www.imagemagick.org/script/command-line-processing.php | 20:37 |
InHisName | Just when I was about to ask, you answered first. | 20:38 |
waltman | look for "Inline Image Resize" | 20:38 |
InHisName | Thanks ! | 20:38 |
waltman | my cropper is cropping the black edges from stem cell images | 20:39 |
waltman | We have a C++ program that does that, but it was proving to be too hard to maintain. | 20:41 |
InHisName | an auto cropper ? Or do you get to control what part gets selected ? | 20:42 |
waltman | It's an auto cropper. | 20:42 |
InHisName | Do your images all have 'boring' borders that are easily cropped by an algorithm without loosing anything important ? | 20:44 |
waltman | I converted 543 lines of C++ into 53 lines of matlab :) | 20:44 |
waltman | It's really only the ones from the biologists I deal with. | 20:44 |
waltman | It's a sharp enough border that you can find it automatically. | 20:45 |
InHisName | So, its very predictable what can be cropped from the collections ? | 20:45 |
waltman | The guts of the script is only like 5 lines of code. | 20:45 |
waltman | from the collections? | 20:46 |
InHisName | Not so easy with people / scenery pictures. | 20:46 |
waltman | These are time lapse movies. There are several thousand images, but they're all extremely similar. | 20:46 |
waltman | though this technique would probably work for any pictures with a solid black border. | 20:47 |
InHisName | a video cropper, spiffy. | 20:48 |
waltman | They're similar enough that I only have to find the crop region on the first image, and then I can use it for everything. | 20:48 |
waltman | The actual cropping is 2 lines of matlab. | 20:48 |
waltman | There's more code to loop over the directory than there is to do the cropping | 20:50 |
InHisName | Now I'm done croppng, brighness & contrast boosting, and rescaling to 460x approx 284. For the moment, until I have more to do another day. | 20:50 |
InHisName | Umm, how to enter ImageMagick command line mode ? (and quit too) | 20:55 |
waltman | InHisName: If you've installed it from ubuntu, you should just have to run convert(1) from a shell prompt. | 21:08 |
square-r00t | s/from\ ubuntu// | 21:10 |
square-r00t | e.g.: | 21:11 |
square-r00t | [bts@workhorse ~]$ convert --version | 21:11 |
square-r00t | Version: ImageMagick 6.8.8-7 Q16 x86_64 2014-02-18 http://www.imagemagick.org | 21:11 |
square-r00t | Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC | 21:11 |
square-r00t | Features: DPC HDRI Modules OpenCL OpenMP | 21:11 |
square-r00t | Delegates: bzlib cairo fontconfig freetype gslib jng jpeg lcms lqr ltdl lzma openexr pangocairo png ps rsvg tiff webp wmf x xml zlib | 21:11 |
square-r00t | InHisName: might help to check out http://www.slideshare.net/bbbart/getting-started-with-imagemagick unless you're trying to do something more advanced | 21:12 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!