Search found 13 matches

by xberg
2018-01-04T06:44:07-07:00
Forum: Users
Topic: How to convert a PNG with full transparency into 50% transparent?
Replies: 1
Views: 2340

Re: How to convert a PNG with full transparency into 50% transparent?

OK, I found the solution: use multiply:

magick convert 1.jpg -alpha set -channel A -evaluate multiply 0.50 +channel logo-just-transparent50pc-alpha.png
by xberg
2018-01-04T06:19:09-07:00
Forum: Users
Topic: How to convert a PNG with full transparency into 50% transparent?
Replies: 1
Views: 2340

How to convert a PNG with full transparency into 50% transparent?

Hi, The PNG has some areas completely transparent and other areas fully opaque. I only want to have the opaque areas 50% transparent while keeping full transparency in the areas which are already fully transparent. This is what I do: magick in.png -alpha set -channel A -evaluate set 50% +channel out...
by xberg
2017-12-22T03:49:00-07:00
Forum: Bugs
Topic: possible bug montage frame dimension
Replies: 3
Views: 5082

Re: possible bug montage frame dimension

Wow. That is incredibly efficient. I'm impressed.
thanks.
by xberg
2017-12-22T02:18:17-07:00
Forum: Users
Topic: How do I convert a JPG into a 50% transparent PNG?
Replies: 4
Views: 4434

Re: How do I convert a JPG into a 50% transparent PNG?

Thanks! Great explanations :)
by xberg
2017-12-22T01:47:17-07:00
Forum: Users
Topic: How do I convert a JPG into a 50% transparent PNG?
Replies: 4
Views: 4434

Re: How do I convert a JPG into a 50% transparent PNG?

Thank you!
Great!! What's the +channel at the end for?
by xberg
2017-12-22T01:23:59-07:00
Forum: Users
Topic: How do I convert a JPG into a 50% transparent PNG?
Replies: 4
Views: 4434

How do I convert a JPG into a 50% transparent PNG?

Hi,

I want to transform any JPG into a 50% transparent PNG.
I found how to make a specific color fully transparent with:

Code: Select all

magick convert 1.jpg -fuzz 8%% -transparent white 1.png
But I don't want this: I want all the JPG to be a 50% opaque PNG.

Thanks
by xberg
2017-12-21T15:28:18-07:00
Forum: Bugs
Topic: possible bug montage frame dimension
Replies: 3
Views: 5082

Re: possible bug montage frame dimension

Thanks Fred for reporting this here. Much appreciated.
by xberg
2017-12-21T14:49:23-07:00
Forum: Users
Topic: Error: Montage: frame is less than image size
Replies: 5
Views: 4931

Re: Error: Montage: frame is less than image size

In some wild testing I found a voodoo workaround: using an odd number instead of an even number for -frame works! ie: 5 or 3 instead of 6.
Should be documented :)
by xberg
2017-12-21T14:00:33-07:00
Forum: Users
Topic: Error: Montage: frame is less than image size
Replies: 5
Views: 4931

Re: Error: Montage: frame is less than image size

My problem seems to be the same as this one reported 10 years ago but not followed through by original poster:
viewtopic.php?t=8427
by xberg
2017-12-21T13:48:10-07:00
Forum: Users
Topic: Error: Montage: frame is less than image size
Replies: 5
Views: 4931

Re: Error: Montage: frame is less than image size

Hello Fred, Thank you for your reply: much appreciated really. Yes: your demo works perfectly. My command also works for most files but not all: specifically some thin portrait-format photos generate the error. Output contact sheet: https://1drv.ms/i/s!AqDPqQIgWkb0zEZo6SK-RnBlHJj5 Original files: ht...
by xberg
2017-12-21T09:07:51-07:00
Forum: Users
Topic: Error: Montage: frame is less than image size
Replies: 5
Views: 4931

Error: Montage: frame is less than image size

Hi, I am trying to create contact sheets with borders around the thumbnails. But the borders do not appear on all images. this is my command: magick montage -verbose -frame 6 -label "%%f" -font Arial -pointsize 10 -background "#ffffff" -fill "#333333" -define jpeg:size=...
by xberg
2017-12-21T08:30:40-07:00
Forum: Users
Topic: Montage: Frame is missing pixels when using labels
Replies: 5
Views: 4990

Re: Montage: Frame is missing pixels when using labels

Here is an example of what I mean http://prntscr.com/hql0yo On the left it is not good. I am expecting the frame to go all around the image, not leave a few pixels on the lower left side. On the right it's good: this is what I expect everywhere. Generated with -frame 6 -mattecolor "#eeeeee"...
by xberg
2017-11-23T03:07:24-07:00
Forum: Users
Topic: Montage: Frame is missing pixels when using labels
Replies: 5
Views: 4990

Montage: Frame is missing pixels when using labels

Hi, Please look at this image from the imagemagick codex when doing a montage with both -frame and -label http://prntscr.com/he5lz8 Taken from here: http://www.imagemagick.org/Usage/montage/ The frame is missing pixels in the bottom left area: the label is overlapping the frame and removing these pi...