Search found 16 matches

by webshaker
2012-11-07T05:42:38-07:00
Forum: Users
Topic: remove white pixels
Replies: 2
Views: 5697

Re: remove white pixels

Bonzo wrote:Have you tried -trim with a -fuzz setting?
Yes!
Thank you that's works

convert -trim -fuzz "5%" original.jpg reduce.jpg
by webshaker
2012-11-07T04:26:09-07:00
Forum: Users
Topic: remove white pixels
Replies: 2
Views: 5697

remove white pixels

Hi.

I have this image
Image

I'd like to remove the white line and white column to obtain

Image

By white I mean white and almost white !!!

Thank's
by webshaker
2011-10-03T06:26:54-07:00
Forum: Users
Topic: "must specify image size" while convert rgba to png
Replies: 3
Views: 21074

Re: "must specify image size" while convert rgba to png

Founded.

It was effectively due to the pixel deph
convert -size 256x256 -depth 8 img.rgba img.png

had solve my problem.
by webshaker
2011-10-03T03:19:16-07:00
Forum: Users
Topic: "must specify image size" while convert rgba to png
Replies: 3
Views: 21074

"must specify image size" while convert rgba to png

Hi.

I'm trying to convert a rgba to png file.
While there is no image size information into the rbga file, I have to give the information to convert.

I know my image resolution. it is a 256*256 images
my rgba image file size is exactly (256 *256 * 4 bytes)

I've tryed
convert -size 256x256 img ...
by webshaker
2011-09-13T05:35:42-07:00
Forum: Bugs
Topic: problem when using ordered dithering
Replies: 1
Views: 6497

problem when using ordered dithering

Hi.

I've tryed to reduce the color number of this image
http://www.webshaker.net/apple.png

I used this command
Convert apple.png -ordered-dither o8x8,32,64,32 apple-bayer.png

And finally I obtained this picture
http://www.webshaker.net/apple-bayer.png

It seem's that there is a saturate problem ...
by webshaker
2011-08-24T06:53:51-07:00
Forum: Users
Topic: reduce color and dithering
Replies: 2
Views: 19233

Re: reduce color and dithering

ok sorry. I was wrong.
in fact the dithering works.
by webshaker
2011-08-24T06:44:40-07:00
Forum: Users
Topic: reduce color and dithering
Replies: 2
Views: 19233

reduce color and dithering

Hi.

I'd like to reduce a png to a RGB565 bitmap.
I do not find how to do that so, I decided to reduce it with a -color parameter to RGB555

convert src.png -depth 5 dst.png

But the quality was not very good, so I tried to add a Floyd dithering

convert src.png -depth 5 -dither FloydSteinberg dst ...
by webshaker
2011-08-19T09:52:51-07:00
Forum: Users
Topic: add a watermark but not on transparent pixels
Replies: 3
Views: 9976

Re: add a watermark but not on transparent pixels

oups sorry.
I was not clear...

my watermark image is
http://www.webshaker.net/watermark.png

my image source is
http://www.webshaker.net/airship.png

what I want is
http://www.webshaker.net/airship2.png

Thx
Etienne
by webshaker
2011-08-19T09:49:29-07:00
Forum: Users
Topic: updating alpha layer
Replies: 9
Views: 23663

Re: updating alpha layer

Thank you for your reply.
Yes actually, I convert my png to gif and then convert to png again, but it was very long, and the quality was some time not very good due to gif conversion !

So I'll try your command.


For my remark, you can have pixel that have alpha value to 0, but R, G and B ...
by webshaker
2011-08-19T03:23:57-07:00
Forum: Users
Topic: pixel count
Replies: 7
Views: 21255

Re: pixel count

And is it possible to count pixel that are not transparent ?
by webshaker
2011-08-19T03:21:40-07:00
Forum: Users
Topic: updating alpha layer
Replies: 9
Views: 23663

updating alpha layer

How can I modify the alpha of a png file in order to put

if (alpha < 128)
alpha = 0
else
alpha =255

in order to keep transparency but not alpha ?

Thank's

By the way, to improve compression algorithme, is it possible to put pixel fully transparent pixel to (0, 0, 0, 0) ?
I've remark that RGB ...
by webshaker
2011-08-19T02:42:45-07:00
Forum: Users
Topic: add a watermark but not on transparent pixels
Replies: 3
Views: 9976

add a watermark but not on transparent pixels

Hi.
I'm looking to add a watermark but kipping the alpha of the bitmap.

I'm currently use this command
composite -dissolve 50% -gravity SouthEast watermark.png airship.png airship1.png

It give me this result.
http://www.webshaker.net/airship1.png

But what I'd like to have is
http://www.webshaker ...
by webshaker
2007-11-12T14:43:04-07:00
Forum: Users
Topic: filesize of an image
Replies: 2
Views: 8128

filesize of an image

Hi I try to resize a big jpeg image to make a thumb....

the original picture is this one
http://scrapblog.chez-les-filles.com/rpc/getImage.php?idi=54.a5e682

the thumb is there
http://scrapblog.chez-les-filles.com/rpc/getThumb.php?idi=54.a5e682

the command I use is the next one
convert -quality 85 ...
by webshaker
2007-11-12T14:40:23-07:00
Forum: MagickStudio
Topic: file size of a resized image
Replies: 4
Views: 46028

file size of a resized image

Hi I try to resize a big jpeg image to make a thumb....

the original picture is this one
http://scrapblog.chez-les-filles.com/rpc/getImage.php?idi=54.a5e682

the thumb is there
http://scrapblog.chez-les-filles.com/rpc/getThumb.php?idi=54.a5e682

the command I use is the next one
convert -quality 85 ...
by webshaker
2007-08-01T03:17:23-07:00
Forum: Users
Topic: The return of masking image
Replies: 3
Views: 11096

The return of masking image

Well.
I've post a message few days oge, but finally it doen't really explain what I need.

I have a jpeg image like this
http://www.webshaker.net/imagemagick/src.jpg

I have a gif mask image
http://www.webshaker.net/imagemagick/black-mask.gif
or this one
http://www.webshaker.net/imagemagick/white ...