Search found 27 matches

by coolperez8
2017-01-22T09:37:21-07:00
Forum: Users
Topic: Split and extend chest sprite.
Replies: 4
Views: 7996

Split and extend chest sprite.

So, apparently I have a chest image that I want to extend. I use ImageMagick 6.9.3-4 on Windows, but I'd also appreciate having the Linux Bash syntax for the command as well. The chest image i'm testing with is a strip of 576x384 for a video game, with each sprite being 48x48. Here's what I need to ...
by coolperez8
2016-12-31T10:16:11-07:00
Forum: Users
Topic: Remap colors from image without mixing the order.
Replies: 1
Views: 2551

Remap colors from image without mixing the order.

So, I'm trying to edit an old game and import a custom character. I have an image of the palette I need to use, and the images of the character. I use this command to apply the palette, but there seems to be a problem with the resulting image when I try to import it into the game. cv -gravity south ...
by coolperez8
2016-12-28T10:02:38-07:00
Forum: Users
Topic: Attempt to extract single-colored semi-transparent overlay from multi-colored background
Replies: 2
Views: 3120

Attempt to extract single-colored semi-transparent overlay from multi-colored background

So, I have 2 nearly identical images, except one has a semi-transparent overlay with a known color. Let's say Image A has the overlay, Image B is Image A without the overlay, and Image C is the overlay itself, which is the result I am trying to achieve. Image A: http://i.imgur.com/dtMQHtn.png Image ...
by coolperez8
2016-11-28T14:45:47-07:00
Forum: Users
Topic: Resize a portion of an image or Curved Resize
Replies: 2
Views: 3136

Re: Resize a portion of an image or Curved Resize

Let's use an image with a grid, for clarity. http://snibgo.com/imforums/pop_src.png First, I want to try cropping the image and only resizing the bottom 500 pixels to double the size, but leaving the rest of the image unaffected. You seem to want a simple chop and resize. Windows BAT syntax: %IM%co...
by coolperez8
2016-11-27T09:26:26-07:00
Forum: Users
Topic: Resize a portion of an image or Curved Resize
Replies: 2
Views: 3136

Resize a portion of an image or Curved Resize

So, let's say I have an image. There are three scenarios I want to try. Let's say the image is 3000 pixels in either width or height, I want to try these scenarios affecting either, but not both. The scenarios assume I am editing the height: First, I want to try cropping the image and only resizing ...
by coolperez8
2016-11-08T07:30:13-07:00
Forum: Users
Topic: Extract the hard light from an image.
Replies: 2
Views: 2797

Re: Extract the hard light from an image.

Yes, that is correct, but I don't know the command the achieve the desired result.
by coolperez8
2016-11-07T16:22:21-07:00
Forum: Users
Topic: Extract the hard light from an image.
Replies: 2
Views: 2797

Extract the hard light from an image.

So, let's say I have 2 images, what I want to do is try to get the hard light from an image using an image with the effect applied and an image without the effect, so if I were to apply the effect itself to the image without the effect I'd get the image with the effect. Here's what I'm talking about...
by coolperez8
2016-06-10T10:00:00-07:00
Forum: Users
Topic: Make image border based on other image using trim?
Replies: 1
Views: 1997

Make image border based on other image using trim?

I have two images, one is the original image with a border, and the other is an edited version of the image with the border removed using the -trim command. What I want to do is find the trim settings for the original image (assuming that after the trim it will be the same as the edited version.) an...
by coolperez8
2016-04-05T13:10:35-07:00
Forum: Users
Topic: Extract Transparent Foreground From Image
Replies: 7
Views: 5286

Re: Extract Transparent Foreground From Image

fmw42 wrote:If you just want the alpha channel of the image (transparency) use

Code: Select all

convert image.png -alpha extractf alphachannel.png
Actually, what I'm trying to do is remove a known background from an image, although the foreground is transparent.
by coolperez8
2016-04-04T15:43:36-07:00
Forum: Users
Topic: Extract Transparent Foreground From Image
Replies: 7
Views: 5286

Re: Extract Transparent Foreground From Image

snibgo wrote:How about:

Code: Select all

convert in.png -alpha transparent out.png
That did not work, it just made the entire image transparent.

Plus, I am trying to remove a known background of an image that has a transparent foreground.
by coolperez8
2016-04-04T15:35:47-07:00
Forum: Users
Topic: Extract Transparent Foreground From Image
Replies: 7
Views: 5286

Re: Extract Transparent Foreground From Image

I don't understand. If you remove the original image apart from the transparent foreground, what are you left with? Example images might help. Please also read the IMPORTANT: Please Read This FIRST Before Posting thread. Basically, you remove the original image from the modified image and you're le...
by coolperez8
2016-04-04T14:51:25-07:00
Forum: Users
Topic: Extract Transparent Foreground From Image
Replies: 7
Views: 5286

Extract Transparent Foreground From Image

So, I have an original image and a modified version of the same image with a transparent foreground. Both images (including the foreground in the modified image) seem to have transparency. What I want to do is remove the original image portion from the modified image so I get the transparent foregro...