Search found 11 matches

by jules43
2016-10-14T01:42:53-07:00
Forum: Users
Topic: Fill area with nearest colour from boundary
Replies: 18
Views: 51458

Re: Fill area with nearest colour from boundary

An example of an image I'd like to do the fill operation on can be found here: https://www.dropbox.com/s/9w1wbnvvqdk5gr1/FillHoleImage.psd?dl=0 The result I want is that every black pixel in the image is replaced with a pixel taken from the closest point in the image that has a non-black colour. In ...
by jules43
2016-10-14T00:21:11-07:00
Forum: Users
Topic: Specify 16 bit int per channel on save
Replies: 3
Views: 4105

Re: Specify 16 bit int per channel on save

Thanks, I hadn't been certain that IM would preserve the bit depth on save. I should have provided more detail. I am reading a 16 bit per pixel loss-less PSD and after processing (if any) I need to save it as as 16 bits per pixel loss-less TIFF or PNG. I am using the Q16 version of ImageMagick 7 - I ...
by jules43
2016-10-13T07:12:10-07:00
Forum: Users
Topic: Specify 16 bit int per channel on save
Replies: 3
Views: 4105

Specify 16 bit int per channel on save

When saving the results of an image magic operation to a tiff or png, is there a way to specify 16 bit int per channel output?

Thanks

Jules
by jules43
2016-10-13T07:10:13-07:00
Forum: Users
Topic: Fill area with nearest colour from boundary
Replies: 18
Views: 51458

Fill area with nearest colour from boundary

I have an area of an image which is empty (black or transparent). I would like to fill the area with the colour from the nearest point on the boundary. Effectively spreading the colours out from the border.

Is there a way to do this with image magic?


Thanks
by jules43
2015-09-02T10:56:23-07:00
Forum: Users
Topic: Colour bleeding when using -layers merge
Replies: 4
Views: 5037

Re: Colour bleeding when using -layers merge

Good advice, I've learnt my lesson. I'm testing code my game renderer and hadn't expected this to be visible. Valuable lesson though as I now know my renderer is sensitive to this kind of compression artefact.

Thanks
by jules43
2015-09-02T09:56:18-07:00
Forum: Users
Topic: Colour bleeding when using -layers merge
Replies: 4
Views: 5037

Re: Colour bleeding when using -layers merge

Thank-you for coming back so quickly. I just loaded TestOut.jpg into Paint.Net and then zoomed in on the area around 1240,256 and then took a screen shot, so you can see the individual pixels blown up. Here's the picture added to dropbox. https://www.dropbox.com/s/6zbqb5aw4r8ecs6/TestZoomedIn.png ...
by jules43
2015-09-02T09:08:09-07:00
Forum: Users
Topic: Using %[fx:] with -repage
Replies: 4
Views: 5226

Re: Using %[fx:] with -repage

Thank-you for your help
by jules43
2015-09-02T09:04:56-07:00
Forum: Users
Topic: Colour bleeding when using -layers merge
Replies: 4
Views: 5037

Colour bleeding when using -layers merge

I have a script (see below) that uses -distort SRT to rearrange and slightly scale two rectangles and then merge the two new rectangles back into one. If I save out the cut out rectangles they appear exactly as I would expect. However, when I merge them together into one image, there is a slight ...
by jules43
2015-09-01T06:39:20-07:00
Forum: Users
Topic: Using %[fx:] with -repage
Replies: 4
Views: 5226

Re: Using %[fx:] with -repage

I've fixed this by replacing -repage with -set page and the same arguments. Can anyone tell me what the difference in meaning between -repage and -set page is? It's clear that snibgo's statement that -repage can't accept expressions is correct. Is that the expected behaviour? I didn't see anything ...
by jules43
2015-09-01T06:25:54-07:00
Forum: Users
Topic: 6 images (cube map) into equirectangular?
Replies: 19
Views: 47991

Re: 6 images (cube map) into equirectangular?

It's possible Pano2VR will do what you want.

http://ggnome.com/pano2vr
by jules43
2015-09-01T06:23:58-07:00
Forum: Users
Topic: Using %[fx:] with -repage
Replies: 4
Views: 5226

Using %[fx:] with -repage

I'm using the Windows Commandline version of Convert and I have a batch file that contains the following command: convert^ -virtual-pixel horizontal-tile-edge^ -verbose^ %1^ ^( -clone 0^ -set option:distort:viewport "%%[fx:w/2]x%%[fx:h]+0+0"^ -distort affine "0,0,0.5,0.5,%%[fx:w/2],%%[fx:h],%%[fx:w ...