Search found 7 matches

by pbeitbeor
2017-04-04T12:54:40-07:00
Forum: Users
Topic: How to reduce number of colors the right way?
Replies: 4
Views: 16018

Re: How to reduce number of colors the right way?

Thanks to both of you.

I gave it a little twist. I converted the image to png (not gif) and used the last command with it.
That did it for me.
by pbeitbeor
2017-04-04T09:17:43-07:00
Forum: Users
Topic: How to reduce number of colors the right way?
Replies: 4
Views: 16018

How to reduce number of colors the right way?

I want to reduce the number of colors of a jpg image to 16, with the following command:

convert -depth -colors 16 image.jpg image-16.jpg

When I count the colors in the image it's about 24000.

What is the correct convert syntax to get a color count of 16?
by pbeitbeor
2016-09-07T12:14:03-07:00
Forum: PerlMagick
Topic: Perl script just dies at Annotate
Replies: 9
Views: 24380

Re: Perl script just dies at Annotate

I've tried the command line and it works fine. By the way, it's the alternative I use right now. I've checked both sites. For PerlMagick, I have the latest version installed. I also have the same version of ImageMagick. There are newer version of IM, but I don't think it's wise to mix versions. But ...
by pbeitbeor
2016-09-04T13:49:40-07:00
Forum: PerlMagick
Topic: Perl script just dies at Annotate
Replies: 9
Views: 24380

Re: Perl script just dies at Annotate

Is there a newer version somewhere? With apt-get I get: $ sudo apt-get install imagemagick Reading package lists... Done Building dependency tree Reading state information... Done imagemagick is already the newest version (8:6.8.9.9-7ubuntu5.1). 0 upgraded, 0 newly installed, 0 to remove and 1 not u...
by pbeitbeor
2016-09-04T11:59:13-07:00
Forum: PerlMagick
Topic: Perl script just dies at Annotate
Replies: 9
Views: 24380

Re: Perl script just dies at Annotate

Yes, Perl is correctly installed in this context. And all the other IM functions I use are working fine. Of those it's only Annotate that gives this strange behaviour. To give some more info, I Read images, use Blur, Resize and use ImageToBlob which all work fine. I did read the PerlMagick pages, bu...
by pbeitbeor
2016-09-04T01:26:46-07:00
Forum: PerlMagick
Topic: Perl script just dies at Annotate
Replies: 9
Views: 24380

Re: Perl script just dies at Annotate

Hi Fred, thanks for your hint. I removed/purged it all and reinstalled it, but the problem is still there. imagemagick 8:6.8.9.9-7ubuntu5.1 imagemagick-6.q16 8:6.8.9.9-7ubuntu5.1 imagemagick-common 8:6.8.9.9-7ubuntu5.1 libimage-magick-perl 8:6.8.9.9-7ubuntu5.1 libimage-magick-q16-perl 8:6.8.9.9-7ubu...
by pbeitbeor
2016-09-03T13:13:54-07:00
Forum: PerlMagick
Topic: Perl script just dies at Annotate
Replies: 9
Views: 24380

Perl script just dies at Annotate

Recently I've upgraded my Ubuntu to 16.04.1 LTS. After this update, my Perl script just dies, without any errors, at the following command: $image->Annotate(font=>'arial.ttf', pointsize=>10, gravity=>'center', fill=>'black', text=>$title); This has worked perfectly before. And even the 'Hello World'...