Search found 23889 matches

by fmw42
2018-10-19T15:03:02-07:00
Forum: Users
Topic: Change picture to transparent and inserting it into other picture at specific location
Replies: 16
Views: 400

Re: Change picture to transparent and inserting it into other picture at specific location

You need to add an RGB color profile to the second images. This seems to get it closer if not correct. magick gradiant-grey.jpg \ \( 4060715278916-0.png -trim +repage -gravity center -resize x4460 +repage \ -profile /Users/fred/images/profiles/sRGB.icc +write tmp.png \) \ -gravity northwest -geometr...
by fmw42
2018-10-19T13:26:18-07:00
Forum: Users
Topic: Change picture to transparent and inserting it into other picture at specific location
Replies: 16
Views: 400

Re: Change picture to transparent and inserting it into other picture at specific location

Looks fine for me. Post your resulting image so we can see how different it is. What is your exact Imagemagick version and platform/OS? magick -version will show what we need. Also what is your jpg and png versions. You can get those from magick -list format The issue could be in one of those delega...
by fmw42
2018-10-19T12:45:55-07:00
Forum: Users
Topic: rotate zoom - broke after update
Replies: 4
Views: 51

Re: rotate zoom - broke after update

The proper syntax has always been to add +repage after a crop or after a trim. IM 6 is more forgiving or syntax issues. IM 7 is very strict about using proper syntax.
by fmw42
2018-10-19T12:44:20-07:00
Forum: Users
Topic: Replace color but only in some regions
Replies: 18
Views: 187

Re: Replace color but only in some regions

I think that was all he needed so that he or you could properly use his code. But I will defer to him.
by fmw42
2018-10-19T12:43:05-07:00
Forum: Bugs
Topic: Converting Photoshop PDF with Transparency
Replies: 4
Views: 51

Re: Converting Photoshop PDF with Transparency

That indicates to me that it is likely Ghostscript. Try reinstalling at a version less than 9.24. 9.23 was pretty stable, but you could go back to 9.19 as snibgo has shown that it works.

I would suggest you report this to the Ghostscript developers.
by fmw42
2018-10-19T12:39:37-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 45
Views: 593

Re: Get coordinates Top, Left, size of some areas

You have not said what platform/OS!
by fmw42
2018-10-19T12:38:50-07:00
Forum: Users
Topic: Change picture to transparent and inserting it into other picture at specific location
Replies: 16
Views: 400

Re: Change picture to transparent and inserting it into other picture at specific location

try this where I resize only according to the height and let the width be in proportion. (note I have written a tmp.png file to show you the height of the resize dress image) magick ./gradiant-grey.jpg \ \( "4060715278916-0.png" -transparent white -trim +repage -gravity center \ -resize x4460 +repag...
by fmw42
2018-10-19T12:30:51-07:00
Forum: Users
Topic: Replace color but only in some regions
Replies: 18
Views: 187

Re: Replace color but only in some regions

Yes that is PNG also.
by fmw42
2018-10-19T12:19:30-07:00
Forum: Bugs
Topic: possible bug annotate with negative rotations
Replies: 0
Views: 22

possible bug annotate with negative rotations

IM 6.9.10.12 Q16 Mac OSX Sierra I tried using negative values for the rotation in -annnotate. It did the rotation but the text was offset badly. -annotate -10x-10+${xoff}+"${off} However, converting to positive rotations works fine as -annotate 350x350+${xoff}+"${off} Compare these two results: conv...
by fmw42
2018-10-19T12:12:45-07:00
Forum: Users
Topic: Replace color but only in some regions
Replies: 18
Views: 187

Re: Replace color but only in some regions

That new link does download a PNG image.
by fmw42
2018-10-19T12:10:16-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 45
Views: 593

Re: Get coordinates Top, Left, size of some areas

What is your Imagemagick version and platform?
by fmw42
2018-10-19T12:07:10-07:00
Forum: Bugs
Topic: Converting Photoshop PDF with Transparency
Replies: 4
Views: 51

Re: Converting Photoshop PDF with Transparency

I can confirm the same results using IM 6.9.10.12 or 7.0.8.12 with GS 9.24

I would point out that there have been problems reported with GS 9.25, but my GS 9.24 does not work either.

For me it opens fine in Mac Preview (OSX Sierra) and in GraphicsConverter.
by fmw42
2018-10-19T11:14:49-07:00
Forum: Users
Topic: Transparent Photoshop PDF to PNG
Replies: 2
Views: 41

Re: Transparent Photoshop PDF to PNG

What is your IM version and platform? I can confirm that it fails for me on IM 6.9.10.12 Q16 Mac OSX with GS 9.24 in the same manner as you. convert Input.pdf Input.png I tried adding -strip and also tried adding an sRGB.icc profile, but neither helped. Please report it to the Bugs forum (with your ...
by fmw42
2018-10-19T11:02:34-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 45
Views: 593

Re: Get coordinates Top, Left, size of some areas

In what way does the script not work? Have you tried just using the BW image I used and my code? What do you get for the results?

To remove the red tops, you would need to modify your processing to keep them as part of the black background in your BW image.