Page 1 of 1

Imagemagick Expeert Needed

Posted: 2012-11-15T08:32:39-07:00
by selamlar
Hi,

I need a script (php or command line) that creates dynamic images using a source image. Some functions that script must have are;

3d canvas
Crop an image and create multiple images
Effects
Text watermark (dynamic position, font selection, font size, color)
etc...

I will give a live example what i need.

Please send me a pm to discuss further.

Thanks

Re: Imagemagick Expeert Needed

Posted: 2012-11-15T09:09:28-07:00
by NicolasRobidoux
selamlar wrote:...I need a script ... that creates dynamic images using a source image...
My apologies if I'm dense, but can you explain what this means? What is/are dynamic images(s)? Are you somehow referring to http://www.dynamicimagegallery.com/index.html or something like this ?

Re: Imagemagick Expeert Needed

Posted: 2012-11-15T09:12:54-07:00
by NicolasRobidoux
Lo and behold: http://en.wikipedia.org/wiki/Dynamic_imaging
Still pretty vague.

Re: Imagemagick Expeert Needed

Posted: 2012-11-15T09:25:55-07:00
by NicolasRobidoux
Again, maybe I'm having a slow day, but I don't understand "3d canvas" in connection to ImageMagick.
WebGL? ImageMagick does not do 3D modeling.

Re: Imagemagick Expeert Needed

Posted: 2012-11-15T10:46:25-07:00
by fmw42
selamlar wrote:Hi,

I need a script (php or command line) that creates dynamic images using a source image. Some functions that script must have are;

3d canvas
Crop an image and create multiple images
Effects
Text watermark (dynamic position, font selection, font size, color)
etc...

I will give a live example what i need.

Please send me a pm to discuss further.

Thanks

Please post a link to your example so that we can see what you really need. You can upload your mage to any free image hosting site such as dropbox or many others.

3D canvas === is this like http://www.imagemagick.org/Usage/distorts/#box3d

Re: Imagemagick Expeert Needed

Posted: 2012-11-15T11:20:11-07:00
by selamlar
NicolasRobidoux wrote:My apologies if I'm dense, but can you explain what this means? What is/are dynamic images(s)? Are you somehow referring to http://www.dynamicimagegallery.com/index.html or something like this ?
Sorry for short post. I mean i will send parameters to script and it will create what i want. For example:http://www.xxx.com/im.php?image=x.jpg&t ... =grayscale.....

All images will be generated 3d style. (Picture 1)

I think the pictures will explain better than me:)

Image
Image
Image
Image
Image
Image
Image

Re: Imagemagick Expeert Needed

Posted: 2012-11-15T13:47:59-07:00
by NicolasRobidoux
I already have simple code that does "false perspective" like this: Image (Original photo credit: Luiz E. Vasconcellos a.k.a. Pictus).
If it's shaded, reflected, put on the right background etc, is this false perspective good enough? (Of course I can orient thing differently and make the side thickness smaller...)
P.S. Sorry: Or course not: The false perspective was specifically so that the part of the image that shows within the front of the frame is seen "straight on". Will look at things some more in the next few days.

Re: Imagemagick Expeert Needed

Posted: 2012-11-15T15:04:23-07:00
by selamlar
NicolasRobidoux wrote:I already have simple code that does "false perspective" like this: Image (Original photo credit: Pictus.)
If it's shaded, reflected, put on the right background etc, is this false perspective good enough? (Of course I can orient thing differently and make the side thickness smaller...)
P.S. Sorry: Or course not: The false perspective was specifically so that the part of the image that shows within the front of the frame is seen "straight on". Will look at things some more in the next few days.
I am sorry, I dont know much about imagemagick so i really dont know what false perspective is. I just need the same look seen on first example.

Re: Imagemagick Expeert Needed

Posted: 2012-11-15T16:26:41-07:00
by NicolasRobidoux
Just to make sure:

You want the "same" mirror reflexions?

You want the "same" shadows?

You want the "same" "slanted perspective" look? P.S. Actually, these images are in false perspective: The strainers are shown in "true" perspective ("slanted"), but the image is shown through "straight on". For example, the image does not fold at all along the shown edges of the strainer: straight lines remain straight as they go through the fold, which of course can't match the true result. Consequence: There is absolutely no way what's shown corresponds reasonably closely to the actual frame that's being delivered. Even the "face" of the strainer: We are seeing the original image through transparent windows in the shape of trapezes, and consequently the seen front area simply cannot match any rectangular region of the original image. It's geometrically impossible. I have a much better way of fixing things so that what's shown matches what's sold. Of course, you may not care about whether what's shown matches what's delivered!

You want the "same" type of background (grey gradient, going from lighter at the bottom to darker at the top)?

Or are some of these things unimportant?

If so, which one(s)?

Re: Imagemagick Expeert Needed

Posted: 2012-11-15T16:50:11-07:00
by NicolasRobidoux
Another thing: It is not clear from the above sample whether they actually reflect closely how the framed images show up in the customer's maibox. The reason I can tell is that the distances between the various image elements do not change when the image is put onto multiple strainers.
If you would give me enough information about how the image is printed and cut, I actually may be able to reproduce reasonably closely the alignment of the various pieces as they are actually put on the strainers.
-----
Again: Does it matter to you to have the shown frames actually match what will be delivered, or you just want to give a very vague idea of how things look when split onto multiple strainers, or even when put on one single one, given that the provided image will almost never fit perfectly on the strainer (sides included)?
Finally: How much control over the alignment of their image onto the strainers do you want to give customers? None? Centered or one of the 8 standard directions (N, NE, E, SE, S, SW, W, NW)? Even more capability for adjustment?
-----
Remember that ever added degree of customization adds (manageable) complications in both the ImageMagick processing and the browser interface.