Search found 13 matches

by marcospassos
2014-12-17T16:02:30-07:00
Forum: Developers
Topic: Snibgo's Cylinder Script
Replies: 4
Views: 7027

Re: Snibgo's Cylinder Script

I don't have any knowledge about POV-Ray. This script fits well for almost all need I have, except this one.

Do you think that is possible to create a displacement map to displace in both sides symmetrically without using POV-RAY?
by marcospassos
2014-12-17T12:32:56-07:00
Forum: Developers
Topic: Snibgo's Cylinder Script
Replies: 4
Views: 7027

Snibgo's Cylinder Script

Hi Snibgo! I've been studying your cylinder script, as well as the Fred's one. I trying to make your script displace for both sides in order to create more realistic images when pitch=0. http://i.imgur.com/MbRZO4c.png Currently, we are able to tilt downward and upward. I would like to reproduce the ...
by marcospassos
2014-12-04T10:50:53-07:00
Forum: Users
Topic: Trimming using a mask
Replies: 8
Views: 9730

Re: Trimming using a mask

The lines are from the links. I managed to reproduce the trim bounding box function using the API and it has solved my problem. Thanks a lot, guys!
by marcospassos
2014-12-02T10:22:20-07:00
Forum: Users
Topic: Trimming using a mask
Replies: 8
Views: 9730

Re: Trimming using a mask

I just tried it and it doesn't.
by marcospassos
2014-12-02T10:01:56-07:00
Forum: Users
Topic: Composing a sRGB image with a RGB one
Replies: 4
Views: 6365

Re: Composing a sRGB image with a RGB one

composite -gravity center image.png Global\ Illumination.png output_1.png composite -compose Multiply Ambient\ Occlusion.png output_1.png output_2.png composite -compose LinearDodge Reflection.png output_2.png output_3.png I'm running ImageMagick 6.8.9-5 Q16 x86_64 2014-07-25 on OSX 10.9.5. Used ...
by marcospassos
2014-12-02T09:37:14-07:00
Forum: Users
Topic: Trimming using a mask
Replies: 8
Views: 9730

Re: Trimming using a mask

Is there any other way to achieve it without using the trim bounding box? This functions calls the function 'GetImageBoundingBox', which is part of the ImageMagick core API (unstable API), unavailable in most of ImageMagicks libraries, such as Imagick.
by marcospassos
2014-12-02T08:28:48-07:00
Forum: Users
Topic: Composing a sRGB image with a RGB one
Replies: 4
Views: 6365

Composing a sRGB image with a RGB one

Hello, I've a layered PSD in sRGB and a RGB image. I'm using Imagick to place this image over a given PSD's layer, simulating the Photoshop's compositing effects. The problem is that the resulting image is darker than the one I see on Photoshop. After some research, I've discovered that setting the ...
by marcospassos
2014-12-02T07:13:31-07:00
Forum: Users
Topic: Trimming using a mask
Replies: 8
Views: 9730

Trimming using a mask

Hello, I'm trying to trim an image using a given mask. The problem is that my image has transparent areas and I need to cut a given area, preserving the transparent areas, so I can't just apply the mask and then use the trim function. Once mask is variable, I don't know the positioning or the ...
by marcospassos
2014-11-04T05:38:22-07:00
Forum: IMagick
Topic: +level in Imagick
Replies: 0
Views: 7789

+level in Imagick

Hi folks, I have been trying to reproduce the Imagemagick's "+level" option using PHP without success. Currently, is there any way to achieve such result? My attempt: convert -size 500x100 gradient:black-white +level 50x100% $test = new Imagick(); $test->newPseudoimage(500, 100, 'gradient:black ...
by marcospassos
2014-09-29T11:57:42-07:00
Forum: Fred's Scripts
Topic: Cylinderize - Frontal view
Replies: 2
Views: 11922

Re: Cylinderize - Frontal view

The first one I generated using the transposition method (first approach) without the overlay (look at the edges, there is no perspective, seems to be only cropped off). When applying the overlay, it does not works as expected (the curve gets distorted). Mug: http://s28.postimg.org/go7daqkp5/mug ...
by marcospassos
2014-09-29T11:18:12-07:00
Forum: Fred's Scripts
Topic: Cylinderize - Frontal view
Replies: 2
Views: 11922

Cylinderize - Frontal view

I spent the last days trying to modify the Fred's cylinderize script to generate frontal views: http://s2.postimg.org/qik4u4zf9/caneca_php.jpg Currently, we can displace upward, downward but not both simultaneously, which would produce the frontal view: http://i.imgur.com/QP2FCEql.png I've tried a ...
by marcospassos
2014-09-28T16:43:07-07:00
Forum: Bugs
Topic: MagickWand DisplaceCompositeOp incorrect
Replies: 4
Views: 6411

Re: MagickWand DisplaceCompositeOp incorrect

I can reproduce this bug using:

Code: Select all

Version: ImageMagick 6.8.9-7 Q16 x86_64 2014-09-24 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib freetype jng jpeg lcms ltdl lzma png tiff xml zlib
by marcospassos
2014-09-26T08:49:12-07:00
Forum: Users
Topic: How to fit an image into a path?
Replies: 0
Views: 3474

How to fit an image into a path?

Hi folks! I would like to fit a image into a path. I've read all the documentation about the distortions maps available but I still can't figure out how I can fit (not clip) an image into a mask or a path. Original image: http://s30.postimg.org/fnnsrs8y5/image.jpg Path: http://s27.postimg.org ...