Search found 50 matches
- 2017-06-07T12:21:37-07:00
- Forum: Magick++
- Topic: Converting to -colorspace gray changes color values?
- Replies: 8
- Views: 23844
Converting to -colorspace gray changes color values?
When exporting from Photoshop grayscale png-8 it still contains color data, in order for me to get 'true grayscale' I have to run: $"{ myImagepath } -set colorspace RGB -colorspace gray { myImagepath }" my problem is it changes the actual color data / color pallet, when IM runs on the phot...
- 2017-06-01T18:06:45-07:00
- Forum: Users
- Topic: Removing all color data from grayscale png's?
- Replies: 2
- Views: 4446
Re: Removing all color data from grayscale png's?
I should Litterally do some research on my own...:
@Admin you can remove this post.. Sorry guys,
Code: Select all
convert D:\myGrayscaleImage.png -set colorspace RGB -colorspace gray D:\myNewGrayscaleImage.png
- 2017-06-01T18:03:34-07:00
- Forum: Users
- Topic: Removing all color data from grayscale png's?
- Replies: 2
- Views: 4446
Removing all color data from grayscale png's?
When exporting Grayscale pngs (Save to web) It still contains color data, Artists have to be in Grayscale mode in Photoshop in order for them to export actual Grayscale: https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-9619829-1220160/Screenshot_51.png I'm wondering if I am able to remov...
- 2017-03-30T13:11:23-07:00
- Forum: Magick++
- Topic: Convert always returning exit code '1'
- Replies: 12
- Views: 36104
- 2017-03-30T13:08:17-07:00
- Forum: Magick++
- Topic: Convert always returning exit code '1'
- Replies: 12
- Views: 36104
Re: Convert always returning exit code '1'
Those error messages didn't come from that command. The directory names are different. Yes sorry my mistake, I am typing these out since my outputs are on a Window, other than the directories it's the exact same code (tried with both forward slashes and backslashes too). Your error message says it ...
- 2017-03-30T12:52:19-07:00
- Forum: Magick++
- Topic: Convert always returning exit code '1'
- Replies: 12
- Views: 36104
Re: Convert always returning exit code '1'
I've never known convert to return 1 when it shouldn't. So perhaps your listener code may have a bug. I suppose you have printed the value of the string when it returns 1. Then you can run that exact command from the command line, and see what it returns. Okay so now we're getting somewhere, yes I ...
- 2017-03-30T10:10:22-07:00
- Forum: Magick++
- Topic: Convert always returning exit code '1'
- Replies: 12
- Views: 36104
Re: Convert always returning exit code '1'
How do you know convert is returning 1? The code shown merely sets a string. The command isn't actually executed. If it does return 1, you should printf the value of string. That might provide a clue. Please say what version IM you are using. I know it's returning a 1 because I have a listener wait...
- 2017-03-30T10:07:20-07:00
- Forum: Magick++
- Topic: Convert always returning exit code '1'
- Replies: 12
- Views: 36104
Re: Convert always returning exit code '1'
"convert 'image.png' -resize 32 -sharpen 0x1.5 ' image_32.png" You seem to have a missing single quote at the end. It should be "convert 'image.png' -resize 32 -sharpen 0x1.5 ' image_32.png'" Check your variables also to see they are evaluating as you expect. If I do: convert lo...
- 2017-03-29T18:18:10-07:00
- Forum: Magick++
- Topic: Convert always returning exit code '1'
- Replies: 12
- Views: 36104
Convert always returning exit code '1'
Hey, I am lost as to why my command is constantly returning '1'/"Failed" exit code even though it converts the texture. string.Format("convert \"{0}\" -depth 8 -resize {1}x{1} -sharpen 0x1.5 \"{2}.png\"", file, size, (file.Split('.')[0] + "_" + size)...
- 2016-08-25T15:39:04-07:00
- Forum: Users
- Topic: How to copy a PNG to another PNG alpha channel?
- Replies: 22
- Views: 17038
Re: How to copy a PNG to another PNG alpha channel?
My version of Gimp (2.8) may be different to yours, with different layout etc. Open output.png. View it at 800% or so. Click on "erase" tool. In the "tool options" window, click the "hard edge" and "anti erase" boxes. Normal erase reduces opacity. "Anti ...
- 2016-08-25T14:36:58-07:00
- Forum: Users
- Topic: How to copy a PNG to another PNG alpha channel?
- Replies: 22
- Views: 17038
Re: How to copy a PNG to another PNG alpha channel?
Your output.png contains exactly what you say you want: the RGB channels have come from test.png, and the alpha channel has come from the grayscale of test2.png. If you open output.png in Gimp, and un-erase ("anti erase") the pixels, you get the same colours as test.png Thanks so much, I ...
- 2016-08-25T13:56:45-07:00
- Forum: Users
- Topic: How to copy a PNG to another PNG alpha channel?
- Replies: 22
- Views: 17038
Re: How to copy a PNG to another PNG alpha channel?
But it would help if you post your PSD image or the input images, so we can test with them. Not screen shots, but the actual images. Giving you the image won't be of any use to you because I cannot save the Alpha the way I want to in either (code, IM, photoshop, gimp) so you cannot see the desired ...
- 2016-08-25T13:56:29-07:00
- Forum: Users
- Topic: How to copy a PNG to another PNG alpha channel?
- Replies: 22
- Views: 17038
Re: How to copy a PNG to another PNG alpha channel?
But it would help if you post your PSD image or the input images, so we can test with them. Not screen shots, but the actual images. Giving you the image won't be of any use to you because I cannot save the Alpha the way I want to in either (code, IM, photoshop, gimp) so you cannot see the desired ...
- 2016-08-25T13:51:41-07:00
- Forum: Users
- Topic: How to copy a PNG to another PNG alpha channel?
- Replies: 22
- Views: 17038
Re: How to copy a PNG to another PNG alpha channel?
But it would help if you post your PSD image or the input images, so we can test with them. Not screen shots, but the actual images. Giving you the image won't be of any use to you because I cannot save the Alpha so you cannot see the desired effect, but here they are: The two test images that I tr...
- 2016-08-25T10:08:16-07:00
- Forum: Users
- Topic: How to copy a PNG to another PNG alpha channel?
- Replies: 22
- Views: 17038
Re: How to copy a PNG to another PNG alpha channel?
Perhaps it is simpler for you to supply inputs, with the desired output. Sorry I wasn't clear. I meant for you to link to (or show) the actual input and desired output image files, not screen shots. Ah, yes so I have attached exactly what I am looking for below. This is the image that I made: https...