Search found 457 matches

by GreenKoopa
2014-01-18T22:59:00-07:00
Forum: Bugs
Topic: -colorspace LCHab
Replies: 2
Views: 5203

-colorspace LCHab

The C channel of LCHab is improperly scaled in memory, and so clips. The clipping is bad enough that even the sRGB colorspace does not quite fit in the current implementation of LCHab. It easily could be made to include all of Lab. I believe the valid channel ranges are: L 0 - 100 (same value as in ...
by GreenKoopa
2014-01-18T21:11:29-07:00
Forum: Bugs
Topic: -colorspace Lab txt:-
Replies: 1
Views: 3854

-colorspace Lab txt:-

This output appears incorrect: > convert -size 1x1 xc:#0FF -colorspace Lab txt:- # ImageMagick pixel enumeration: 1,1,65535,cielab 0,0: (91.1147%,-18.8556%,-5.54665%) #E940 00000000 cielab(91.1147%,-18.8556%,-5.54665%) In memory, IM stores a & b offset by #8000 to handle negative values. This is...
by GreenKoopa
2014-01-13T06:11:06-07:00
Forum: Users
Topic: cylindrical color spaces
Replies: 1
Views: 2497

cylindrical color spaces

Are the cylindrical color spaces (HSV/HSB, HSL, HSI, HWB, HCL) inherently sRGB-based? I have always thought of them as mathematical constructs that could be applied to any RGB colorspace, but I discovered that ImageMagick implicitly expands convert hald:10 -set colorspace RGB -colorspace HSL ... to ...
by GreenKoopa
2014-01-13T05:31:42-07:00
Forum: Users
Topic: -set colorspace
Replies: 5
Views: 4788

Re: -set colorspace

Agreed, it appears that -append carries out implicit colorspace conversions. I believe that it automatically converts all images to sRGB before appending the images together, then converts the result to the colorspace of the first image. This would explain the above rounding error, and the lost proc...
by GreenKoopa
2014-01-10T15:15:50-07:00
Forum: Users
Topic: Adjusting colors to match calibrated sample
Replies: 5
Views: 6354

Re: Adjusting colors to match calibrated sample

Create a hald image using IM. Append it to your image and save in a lossless format. Make the adjustments in whatever program you like (including IM). Crop out the now adjusted hald image. Use IM and the adjusted hald color look-up table to apply the adjustment in batch to all your images.
by GreenKoopa
2014-01-10T15:01:16-07:00
Forum: Users
Topic: put JPG on diff-size background without loss of information
Replies: 6
Views: 7010

Re: put JPG on diff-size background without loss of informat

Some of your shrinkage could have been the loss of metadata. Rather than judging by file size, you can use IM's compare to quantify the loss.
by GreenKoopa
2014-01-10T14:54:01-07:00
Forum: Users
Topic: Adjusting colors to match calibrated sample
Replies: 5
Views: 6354

Re: Adjusting colors to match calibrated sample

snibgo is right that this can be quite complex, so creating your own solution will only get you so close. Adjustments may be easier in a cylindrical color space, i.e. one with hue. If you can achieve the adjustments you want using GIMP, Photoshop, etc, you can use snibgo's hald-clut suggestion to ca...
by GreenKoopa
2014-01-10T14:14:15-07:00
Forum: Users
Topic: put JPG on diff-size background without loss of information
Replies: 6
Views: 7010

Re: put JPG on diff-size background without loss of informat

With ImageMagick, as with most image tools, simply opening and resaving a jpeg results in recompression and a tiny, often imperceptible, loss of quality. If you must use jpeg and really need zero loss, jpegtran is a specialized tool that may help. Specifically, look at crop 'n' drop. jpegtran can av...
by GreenKoopa
2014-01-10T13:50:34-07:00
Forum: Users
Topic: put JPG on diff-size background without loss of information
Replies: 6
Views: 7010

Re: put JPG on diff-size background without loss of informat

Have you looked at -extent? It doesn't require a background image and should keep your metadata.
http://www.imagemagick.org/script/comma ... php#extent
http://www.imagemagick.org/Usage/crop/#extent
by GreenKoopa
2014-01-10T01:34:43-07:00
Forum: Users
Topic: -set colorspace
Replies: 5
Views: 4788

Re: -set colorspace

snibgo wrote:I would put this down to a rounding difference.
Agreed that it is small, but are pixels being rounded by -append or -set colorspace?

ImageMagick 6.8.8-1 Q16 x64 2013-12-25 on Windows 7
by GreenKoopa
2014-01-09T21:58:06-07:00
Forum: Users
Topic: -set colorspace
Replies: 5
Views: 4788

-set colorspace

Does -set colorspace modify pixel values, or only change the colorspace setting? convert -size 500x1 gradient:#000-#F00 gradient:#FF0-#000 -set colorspace RGB -resize 450x1 -set colorspace sRGB -append y.png convert -size 500x1 gradient:#000-#F00 gradient:#FF0-#000 -set colorspace RGB -resize 450x1 ...
by GreenKoopa
2014-01-09T21:45:45-07:00
Forum: Users
Topic: RAW support
Replies: 9
Views: 11571

Re: RAW support

Thanks to all for the input! In Lightroom any modifications are added to an XMP file and only applied in lightroom. The Sony version of Lightroom, Image Data Converter\Image Data Converter Ver. 4.0, saves modifications to the raw file itself. That is why I was hoping to choose either the raw or corr...
by GreenKoopa
2014-01-07T08:56:43-07:00
Forum: Users
Topic: Hald CLUT
Replies: 24
Views: 33454

Re: Hald CLUT

You applied a curve to a Hald using IM or something else? Is the new file also 8-bit png? Have you tried increasing the compression?

It is not surprising that the new file is larger, but that does seem huge.
by GreenKoopa
2014-01-06T20:23:44-07:00
Forum: Users
Topic: RAW support
Replies: 9
Views: 11571

Re: RAW support

Yes, like that! I don't know if WIC is widely supported, but a generic connector like WIC is definitely better to support.

Using ExifTool, I learned that my Sony file contains both a 160x120 thumbnail and a 1616x1080 preview jpeg. Maybe Windows Explorer simply uses the preview image?
by GreenKoopa
2014-01-06T17:33:46-07:00
Forum: Users
Topic: RAW support
Replies: 9
Views: 11571

Re: RAW support

I wouldn't expect IM developers to care specifically about Sony's driver. I just didn't know if there was a Microsoft COM framework or something to provide a common interface for images, like DirectShow is for audio and video codecs. It's all new to me, and probably over my head.