Search found 180 matches

by javismiles
2011-03-18T21:55:42-07:00
Forum: Users
Topic: linux command issue
Replies: 21
Views: 35784

Re: linux command issue

i went to the very useful link you gave me and i added this to my php script to trace errors ini_set('error_log', 'script_errors.log'); ini_set('log_errors', 'On'); ini_set('display_errors', 'Off'); i also made sure the file was being generated by making an error on purpose, but im getting no errors...
by javismiles
2011-03-18T21:50:40-07:00
Forum: Users
Topic: linux command issue
Replies: 21
Views: 35784

Re: linux command issue

and convert -list alpha returns


convert -list alpha
Activate
Background
Copy
Deactivate
Extract
Off
On
Opaque
Set
Shape
Transparent


so it seems i have the commands no problem
again they all execute from the bash

its from php that they get crazy for some reason
by javismiles
2011-03-18T21:49:38-07:00
Forum: Users
Topic: linux command issue
Replies: 21
Views: 35784

Re: linux command issue

Anthony thank you for taking the time to help me convert -version returns this Version: ImageMagick 6.6.8-5 2011-03-18 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC Features: OpenMP thats pretty new isnt it and again the clut for example executes great from...
by javismiles
2011-03-18T21:46:31-07:00
Forum: Users
Topic: complex commands working butsome simple options not working
Replies: 9
Views: 15997

Re: complex commands working butsome simple options not work

i wish it was spacing, i really wish
but it can hardly be spacing on this comman

"convert ex1.jpg cluttest2.jpg -clut result.jpg"

it executes perfect from bash
nothing from php
by javismiles
2011-03-18T21:44:17-07:00
Forum: Users
Topic: complex commands working butsome simple options not working
Replies: 9
Views: 15997

Re: complex commands working butsome simple options not work

ok this is beyond everything... i reduced it to the simplest thing see this command convert ex1.jpg cluttest2.jpg -clut result.jpg it executes perfect on the bash linux, perfect, perfect result and from php? nothing, zero how is possible, it cannot be a syntax issue, its so simple convert ex1.jpg cl...
by javismiles
2011-03-18T21:32:42-07:00
Forum: Users
Topic: complex commands working butsome simple options not working
Replies: 9
Views: 15997

Re: complex commands working butsome simple options not work

same issue with

-auto-level
-alpha opaque
and the others

they do well from the bash
but not from php

do they need different syntax in linux from php?
by javismiles
2011-03-18T21:29:42-07:00
Forum: Users
Topic: complex commands working butsome simple options not working
Replies: 9
Views: 15997

Re: complex commands working butsome simple options not work

i thought it was some library missing but its not, i just tried the following clut command from the bash, and it worked and i checked the files and all great the result but it fails from php, some syntax must be, what do you think? convert ex1.jpg cluttest2.jpg -clut +sigmoidal-contrast 3x80% -blur ...
by javismiles
2011-03-18T21:16:13-07:00
Forum: Users
Topic: complex commands working butsome simple options not working
Replies: 9
Views: 15997

complex commands working butsome simple options not working

dear friends, after moving to linux, things much better now, most of the complex commands are working now from php, but the puzzling thing, some very simple options in commands are not working, maybe you can help me :) so all these commands worked in windows perfect, but in linux they only work if w...
by javismiles
2011-03-18T21:04:49-07:00
Forum: Users
Topic: linux command issue
Replies: 21
Views: 35784

Re: linux command issue

oki another problem in another of the commands, it only works when we remove -auto-level any ideas? so all these commands worked in windows perfect, but in linux they only work if we remove in one of them removing -alpha opaque in another removing -auto-level in another removing -clut why is this, i...
by javismiles
2011-03-18T20:43:39-07:00
Forum: Users
Topic: linux command issue
Replies: 21
Views: 35784

Re: linux command issue

apart from -alpha opaque and -clut giving problems in linux the other problem i have is this that im using to produce black and white image, in windows works great -channel R -evaluate multiply .8 -channel G -evaluate multiply .1 -channel B -evaluate multiply .1 +channel -separate -compose add -flat...
by javismiles
2011-03-18T20:35:03-07:00
Forum: Users
Topic: linux command issue
Replies: 21
Views: 35784

Re: linux command issue

so in two of our commands
it seems that it doesnt like from php using

-alpha opaque

and also

-clut

any ideas?
by javismiles
2011-03-18T20:32:50-07:00
Forum: Users
Topic: linux command issue
Replies: 21
Views: 35784

Re: linux command issue

ok in the first one i showed that doesnt work we have found out that it works if we remove

-alpha opaque

any ideas why?
it works from the bash with -alpha opaque
but from php we need to remove that to make it work, the -alpha opaque

any ideas?
by javismiles
2011-03-18T20:20:45-07:00
Forum: Users
Topic: linux command issue
Replies: 21
Views: 35784

Re: linux command issue

another one that fails and is very simple

$command = "convert ".$source_image." ".$clutimage." -clut ".$target_image ;

this works from the bash
but not from php
any ideas?
by javismiles
2011-03-18T19:57:28-07:00
Forum: Users
Topic: linux command issue
Replies: 21
Views: 35784

Re: linux command issue

having similar problem with this one, i put \ in front of the ( but still not working, i suspect the % signs maybe? what do u think $command = 'convert '.$source_image.' -fill green -colorize 15% -alpha opaque -sigmoidal-contrast 4x15% -blur 1,0.5 \( +clone -fill white -colorize 100 -background "#cc...
by javismiles
2011-03-18T19:50:33-07:00
Forum: Users
Topic: linux command issue
Replies: 21
Views: 35784

Re: linux command issue

yes it works
putting the \ before the (

thank u! :))