Search found 17 matches

by tk1
2016-04-23T11:07:37-07:00
Forum: IMagick
Topic: polaroidImage and transparent formats
Replies: 5
Views: 10267

Re: polaroidImage and transparent formats

Yes. Jpeg doesn't support transparency. Users may use my function on various image formats.
This is why I would like to change output image format. But, how to enrich my function in image transparency detection?
I think image extension or format is not enough.
by tk1
2016-04-22T23:15:57-07:00
Forum: IMagick
Topic: polaroidImage and transparent formats
Replies: 5
Views: 10267

Re: polaroidImage and transparent formats

[code] try { $newIm = new \Imagick(); $newIm->setBackgroundColor(new \ImagickPixel('transparent')); $newIm->readImage($file); $geo = $newIm->getImageGeometry(); $newIm->polaroidImage(new \ImagickDraw(), $value); // IM >= 6.3.2 $newIm->resizeImage($geo['width'], $geo['height'], $this->gfxConf['window...
by tk1
2016-04-21T13:12:21-07:00
Forum: IMagick
Topic: polaroidImage and transparent formats
Replies: 5
Views: 10267

polaroidImage and transparent formats

Hi!

I'm writing PHP functions with Imagick to make some effects on the webpages. I use polaroidImage function but when non transparent images are posted I see black border. I would like to have transparent background.

How can I detect if image supports transparency and then save as f.e. PNG ?
by tk1
2016-04-21T13:05:19-07:00
Forum: IMagick
Topic: Struggling to install Imagick php extension [SOLVED]
Replies: 9
Views: 14843

Re: Struggling to install Imagick php extension

[b]@vinny38[/b] I see two problems in your installation. You are mixing quantum Q8 (ImageMagick) and Q16 (PHP Imagick). On the pecl site there are only Q16 versions. Also you should have equal bit versions of PHP and its extensions x64 (PHP Imagick). If you copy CORE*.dll files to the Apache/PHP dir...
by tk1
2012-09-12T11:48:42-07:00
Forum: IMagick
Topic: compose over
Replies: 7
Views: 16981

Re: compose over

Guys. I didn't mean to offend anybody. This is Imagick section of the forum. This is why I asked here. Maybe I misunderstood, but combine.exe command was replaced with composite.exe. Am I right? Those commands I would like to convert to Imagick. composite.exe -compose over input.jpg over. gif black&...
by tk1
2012-09-11T11:53:13-07:00
Forum: IMagick
Topic: imagick version
Replies: 6
Views: 15194

Re: imagick version

I got an answer on my question. In the source code I found two undocumented constant Imagick::IMAGICK_EXTNUM and Imagick::IMAGICK_EXTVER.
by tk1
2012-09-11T11:48:54-07:00
Forum: IMagick
Topic: compose over
Replies: 7
Views: 16981

Re: compose over

I tried compositeImage() with no success. combine takes 4 files and does the magick. compositeImage() works on 2 files, composite constant and coordinates. I just don't know how put it all together. Could you help me a little bit more?
by tk1
2012-09-11T02:52:23-07:00
Forum: IMagick
Topic: compose over
Replies: 7
Views: 16981

compose over

I'm trying to make with Imagick the same as ImageMagick command:

[code]combine -compose over input.jpg over.gif black&white_mask.gif output.jpg[/code]

The output file should consist of input & over files - depending on mask file.

How can I achieve this?
by tk1
2012-09-09T12:54:01-07:00
Forum: IMagick
Topic: imagick can't find ghostscript in Windows
Replies: 1
Views: 7618

Re: imagick can't find ghostscript in Windows

Hi dan2! Are you aware of Imagick relative paths bug? (see bugs: #61583 and #59594). Does IIS_USR and IIS_WAM have read and execute rights to the ImageMagick files? Does IIS_USR and IIS_WAM have read and execute rights to the Ghostscript files? When I installed GS and then ImageMagick then I was abl...
by tk1
2012-09-04T04:16:45-07:00
Forum: Users
Topic: GIF & LZW compression
Replies: 1
Views: 3751

GIF & LZW compression

I've red on the Wiki that Unisys had rights to patent for Gif format with LZW compression. I've also read that those patents had expired.

Is Image Magick able to manipulate GIFs with LZW compression by default?
by tk1
2012-09-04T03:54:50-07:00
Forum: IMagick
Topic: imagick version
Replies: 6
Views: 15194

Re: imagick version

fmw42:
I have to get this info in PHP. Hosting provider doesn't allow on executing exec() & system() functions.

Bonzo:
I tried this function but I get an info about ImageMagick not the Imagick - the PHP extension.
by tk1
2012-09-02T11:01:43-07:00
Forum: IMagick
Topic: imagick version
Replies: 6
Views: 15194

Re: imagick version

On my laptop I have Imagick working but I don't know how to get programically version info like phpinfo() shows.
by tk1
2012-09-02T10:50:27-07:00
Forum: IMagick
Topic: General Web Optimisation
Replies: 2
Views: 10461

Re: General Web Optimisation

If your site maintains photos for web viewing only then you may consider to reduce resolution. Most computer screens are able to display anything in 72 dpi. Most cameras make photos in bigger resolution (300 dpi or more). See Imagick::setImageResolution and Imagick::setResolution. Reducing resolutio...
by tk1
2012-09-02T10:39:49-07:00
Forum: IMagick
Topic: imagick version
Replies: 6
Views: 15194

imagick version

Hi!

I would like to know if there is any way to get Imagick version in PHP. I don't want to get ImageMagick version because I ca use Imagick::getVersion(). One more thing I can't use exec & system functions.
by tk1
2011-10-24T02:40:06-07:00
Forum: Developers
Topic: Building from sources problem - VC 2008
Replies: 1
Views: 5339

Building from sources problem - VC 2008

I'm trying to build 6.7.3 x64 Q8 with VC2008. I followed the instructions but I have a probblem. I think it is a constant MAGICKCORE_ZERO_CONFIGURATION_SUPPORT name length problem. It looks VC9 truncates its name to MAGICKCORE_ZERO_CONFIGURATION_S. 157>------ Build started: Project: UTIL_animate, Co...