Urgent - please help!
Re: Urgent - please help!
maybe soem otehr version will not do this - can you recommend an earlier stable release?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Urgent - please help!
I suggest you try the command, but with no "-shave 10x10". Do you get the same bad result?
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Urgent - please help!
I shaved your file with -shave 5x5 using IM 6.9.10.23 Q16 Mac OSX Sierra. I see no change when using a color picker (HueGo) nor in my GraphicConverter tool. Both show a background of 13,13,13.
Your image has an alpha channel. If you do
it will remove the alpha channel.
If you want to keep the alpha channel when shaving, do
Both give me 13,13,13
Perhaps your color picker is modifying values depending upon whether you have an alpha channel or if you have removed the alpha channel.
What color picker are you using or what image tool are you using to read the color values? What is your IM version and platform?
Your image has an alpha channel. If you do
Code: Select all
convert image.png -shave 5x5 image_shaved1.png
If you want to keep the alpha channel when shaving, do
Code: Select all
convert image.png -channel rgba -shave 5x5 image_shaved2.png
Perhaps your color picker is modifying values depending upon whether you have an alpha channel or if you have removed the alpha channel.
What color picker are you using or what image tool are you using to read the color values? What is your IM version and platform?
Re: Urgent - please help!
thnak you for this fantastic reply!
I am using imagemagick version 7.08-14 Q16 64 bit
yes when you try to check the bakcground on computer - the images have the same background - but when I upload the processed image on a webiste (which has teh 13 13 13 background) - it becomes apparent that the image has the different background and when i check with a colorpicker CP1 it shows 5 5 5. actually my eye detects the difference in color very well))
I will now try your code to see if the images migth show correctly with the alpha channel present
thanks a lot!
I am using imagemagick version 7.08-14 Q16 64 bit
yes when you try to check the bakcground on computer - the images have the same background - but when I upload the processed image on a webiste (which has teh 13 13 13 background) - it becomes apparent that the image has the different background and when i check with a colorpicker CP1 it shows 5 5 5. actually my eye detects the difference in color very well))
I will now try your code to see if the images migth show correctly with the alpha channel present
thanks a lot!
Re: Urgent - please help!
I tried this line and still the images start to have different background when uplaoded on the website with the background of 13 13 13
Code: Select all
"C:\Program Files\ImageMagick-7.0.8-Q16\mogrify.exe" -channel rgba -shave 10x10 *.png
Re: Urgent - please help!
the key is how the images look online - maybe you can try uplaoding the processed image to the tinyurl so that I can check its background here?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Urgent - please help!
If you upload, some hosting services reformat your image to JPG. This may cause changes in color since it a lossy compression.
Re: Urgent - please help!
thnak you for yuour reply - the images are png on the host - for example - here you can see the above two images - they are png - and on my server - which is godaddy theu are both PNG - they just do not have the same background - after processign it is changed..
so the only solution is to have the background as black (websafe color)?
so the only solution is to have the background as black (websafe color)?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Urgent - please help!
I will ask once more, then I'll give up.
Please try the command without "-shave". The command would be:
Do you get the same bad result?
Please try the command without "-shave". The command would be:
Code: Select all
"C:\Program Files\ImageMagick-7.0.8-Q16\mogrify.exe" *.png
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Urgent - please help!
You show no images!line7 wrote: ↑2019-01-18T01:52:16-07:00 thnak you for yuour reply - the images are png on the host - for example - here you can see the above two images - they are png - and on my server - which is godaddy theu are both PNG - they just do not have the same background - after processign it is changed..
so the only solution is to have the background as black (websafe color)?