Forums >
Digital Art and Retouching >
Downsampling with ImageMagick
Download and install ImageMagick: http://www.imagemagick.org/script/binar … hp#windows http://www.imagemagick.org/script/binar … php#macosx http://www.imagemagick.org/script/binar … s.php#unix Download and unpack into your DeskTop http://dl.dropbox.com/u/4686872/Pictus-resize2.zip or http://www.mediafire.com/file/w47dqrjrz … esize2.zip It contains some BAT files To resize, just drag and drop any image over one of the icons in the DeskTop The result is better than the other programs as it is free from moiré and gamma corrected during resize. The original image http://www.mediafire.com/?49ahiwm5ukfu6c9 More details: ImageMagick resize http://www.imagemagick.org/Usage/resize/ ImageMagick and USM http://redskiesatnight.com/2005/04/06/s … ge-magick/ Resize and gamma http://www.4p8.com/eric.brasseur/gamma.html The BAT files are versions from http://www.openphotographyforums.com/fo … hp?t=14947 ----------------------- New version! http://dl.dropbox.com/u/4686872/Pictus_resize_D.zip -4 batch files, 640, 800, 1024 and 1200 -Each file will create 2 versions from 3 algorithms, making 6 for you to choose. -It is from a soft to sharper in gamma 1 and sRGB, all in EWA(Elliptically Weighted Average) -You can edit the batch files to enable the orthogonal versions or the other algorithms, or disable the unneeded... ----------------------- *** Update *** The latest/greatest BAT is being developed in http://www.luminous-landscape.com/forum … ic=91754.0 Jan 09 12 09:46 pm Link And if you are handy with scripting in Photoshop, you can integrate ImageMagick into your Photoshop workflow through automation using scripts. Bonus. Jan 10 12 03:01 pm Link Good idea, but I am not good with script stuff... Jan 10 12 04:41 pm Link Update Jan 11 12 08:14 am Link very interesting especially about the gamma issue. too bad it's not available as a library for flash Jan 12 12 08:25 am Link And some script as Photons 2 Pixels Images suggested ? Jan 12 12 09:39 am Link Pictus wrote: the script will be strictly on PS side, so nothing needs porting on IM side Jan 12 12 11:36 am Link btw, the result you got when it comes to moire is quite good (I couldn't get it that smooth) but keep an eye on changes coming from the USM, like the wall of the house, it almost looks like it changes colour after the Lanc+USM Jan 13 12 07:19 am Link Thanks, I had the same thought as you, but by looking at the original the reason becomes clear. It is not the USM, but the gamma. Between the bricks the cement is white, so we got a kind of halftone effect... http://en.wikipedia.org/wiki/Halftone Here the proof, get some distance from the monitor and defocus your vision, which version is right ? Jan 13 12 09:10 am Link Filter > Blur > Average on the image as I found it. Seems like the upper one to me. Jan 13 12 09:31 am Link It is the gamma factor playing tricks again Here the luminosity channel from a gamma 1 blur average. The whole gamma factor is here http://www.4p8.com/eric.brasseur/gamma.html Guys, we have to investigate the gamma factor for the “high pass sucks”... I bet the gamma is the sucker... Jan 13 12 10:03 am Link Pictus wrote: I'm still not sure about the added value of the "gamma factor". The example they give fails the resampling as designed, but if you adjust the values in the example to linear gamma, it will fail in exactly the same way using the gamma correction, and will give good results if you do it without. ... I hope you get my drift. Jan 13 12 10:32 am Link Point taken, but the are 2 different things, one is what looks better and another is what is more realistic. BTW, Blur-aware downsample algorithm http://www.cs.ubc.ca/~heidrich/Papers/EG.11.pdf Jan 13 12 11:16 am Link Pictus wrote: reality is subjective Jan 13 12 01:13 pm Link NothingIsRealButTheGirl wrote: This is actually a mathematical quirk. Because you're doing the averaging in a 2.2 gamma space, the upper agrees. Converting the image to linear sRGB first and then performing the same action has the opposite effect - the lower becomes 'correct'. Jan 29 12 06:32 am Link Thanks, any comment is more than welcome. I have being seeing good results especially for model hair and fabrics with linear gamma. Jan 29 12 11:28 am Link New version! http://dl.dropbox.com/u/4686872/Pictus_resize_D.zip -4 batch files, 640, 800, 1024 and 1200 -Each file will create 2 versions from 3 algorithms, making 6 for you to choose. -It is from a soft to sharper in gamma 1 and sRGB, all in EWA(Elliptically Weighted Average) -You can edit the batch files to enable the orthogonal versions or the other algorithms, or disable the unneeded... Aug 01 12 02:44 pm Link Sean Baker Photo wrote: I just tried Edit > Color Settings > Blend RGB Values Using Gamma 1.0 to see if it would change anything. Aug 01 12 10:01 pm Link |