Search found 15 matches

by codeswitch
2011-09-20T02:31:20-07:00
Forum: Users
Topic: permission problems
Replies: 2
Views: 6043

Re: permission problems

I see, didn't know that. Thank you!
by codeswitch
2011-09-19T10:24:18-07:00
Forum: Users
Topic: permission problems
Replies: 2
Views: 6043

permission problems

I'm using ImageMagick 6.6.5-8 2011-02-14 Q16 on opensuse 11.4. When using this command: convert -resize 320x320 images/58/full/test.jpg images/58/320px/test320px.jpg I get this error: convert: unable to open image `images/58/320px/test320px.jpg': @ error/blob.c/OpenBlob/2584. The folders are all ...
by codeswitch
2010-05-01T09:34:07-07:00
Forum: Users
Topic: convert hangs and kills the server
Replies: 0
Views: 3859

convert hangs and kills the server

I use imagemagick 6.3.7 to do serveral tasks, e.g. resize and crop an image. To do this I wrote a php script (started by a cronjob every 10 minutes) which takes 15 images and processes every one of them in a loop. Inside a loop there are 8 jobs to be done. One of them looks like this: convert image ...
by codeswitch
2010-02-23T04:42:58-07:00
Forum: Users
Topic: Error log on linux?
Replies: 3
Views: 16989

Re: Error log on linux?

Thank you snibgo, putting "2>error.log" at the end is exactly what I needed!
by codeswitch
2010-02-22T12:07:00-07:00
Forum: Users
Topic: Error log on linux?
Replies: 3
Views: 16989

Error log on linux?

I'm using several functions of ImageMagick on my Linux-Server (shared hoster). Is there something like an error log, so that I can look after problems?

If not, can I maybe debug a command by passing a certain statement or something?
by codeswitch
2009-10-08T00:39:59-07:00
Forum: Users
Topic: Help for old version 6.2.4: how to count colors in a jpg
Replies: 13
Views: 26381

Re: Help for old version 6.2.4: how to count colors in a jpg

Thanks, but the sort option doesn't work with my old version (which the hoster doesn't want to update).
by codeswitch
2009-10-07T08:37:44-07:00
Forum: Users
Topic: How to identify a grayscale image (with threshold)?
Replies: 17
Views: 23011

Re: How to identify a grayscale image (with threshold)?

Well, thank you very much, but it's a little too complicated for me. I hoped for an easy solution.

But never mind, I using PHP itself to do it. It's not perfect, but it'll do.

If anyone wants the code I'll post it here to be discussed.
by codeswitch
2009-10-06T10:06:07-07:00
Forum: Users
Topic: How to identify a grayscale image (with threshold)?
Replies: 17
Views: 23011

How to identify a grayscale image (with threshold)?

I know how to find out if an image is a true color image or a grayscale image. But what I'd like to have is the solution on how to identify for example this image: http://www.pitopia.de/scripts/pictures/detail.php?pid=173820&pageID=2&view=1 as a grayscale image. The whole picture is black and white ...
by codeswitch
2009-10-06T09:10:48-07:00
Forum: Users
Topic: Help for old version 6.2.4: how to count colors in a jpg
Replies: 13
Views: 26381

Re: Help for old version 6.2.4: how to count colors in a jpg

Thank you very much, fmw42! That's exactly what I needed. So as a brief overview for other PHP-programmers: To extract the most dominant colours out of an image, I use imagemagick to convert that image into a png-file with exactly the amount of colours I need. Then I take this generated image to ...
by codeswitch
2009-09-23T04:29:19-07:00
Forum: Users
Topic: Help for old version 6.2.4: how to count colors in a jpg
Replies: 13
Views: 26381

Re: Help for old version 6.2.4: how to count colors in a jpg

Thank you so far.

But now I have a different idea.

Is it possible to convert a jpg into a png, and telling imagemagick to reduce the png to 10 colors? You know, just like in photoshop.
by codeswitch
2009-09-11T12:09:10-07:00
Forum: Users
Topic: Help for old version 6.2.4: how to count colors in a jpg
Replies: 13
Views: 26381

Re: Help for old version 6.2.4: how to count colors in a jpg

I used exactly your posted command on the server itself via SSH. Committing your command, the server writes the file named info:- . When I open it (after renaming it to info.txt) I see what I stated before. I tried it also with a real image on the server, with the same result. Mean no offense, but ...
by codeswitch
2009-09-11T06:30:19-07:00
Forum: Users
Topic: Help for old version 6.2.4: how to count colors in a jpg
Replies: 13
Views: 26381

Re: Help for old version 6.2.4: how to count colors in a jpg

Thanks, but it doesn't put out exactly what I need. By using your code I get this: id=ImageMagick version=1.0 class=DirectClass colors=0 matte=False columns=256 rows=200 depth=8 colorspace=RGB compression=JPEG quality=75 resolution=72x72 Comment={ 15044: ( 0, 0, 0) black 43: ( 1, 1, 1) #010101 325 ...
by codeswitch
2009-09-10T06:53:34-07:00
Forum: Users
Topic: Help for old version 6.2.4: how to count colors in a jpg
Replies: 13
Views: 26381

Help for old version 6.2.4: how to count colors in a jpg

I can do nothing about it, my hoster only provides the version 6.2.4. :(

What I need to do is extracting the ten most used colors in a jpg.

I appreciate your help very much!
by codeswitch
2009-09-09T06:43:17-07:00
Forum: Users
Topic: a compatibility question about version 6.2.4
Replies: 2
Views: 6805

Re: a compatibility question about version 6.2.4

Thank you, your grep-trick works.

It's not my fault, the hoster runs confixx with very old software (I would call it abandonware) and refuses to install new apps, while my customer refuses to look for a better hoster.

Anyway, thank you very much.
by codeswitch
2009-09-08T10:37:22-07:00
Forum: Users
Topic: a compatibility question about version 6.2.4
Replies: 2
Views: 6805

a compatibility question about version 6.2.4

My hoster only provides ImageMagick version 6.2.4. On my localhost I have 6.5.5 installed. There I use this command: identify -format "%[colorspace]" "/var/www/web1/html/image.jpg" It works as I expected. But on my hoster's server it doesn't work (I test it via SSH). Using format options without ...