Search found 180 matches

by javismiles
2011-06-18T00:21:07-07:00
Forum: Fred's Scripts
Topic: cylindrical distortion
Replies: 6
Views: 27301

Re: cylindrical distortion

thank you very much Anthony, im looking at the script on http://www.fmwconcepts.com/imagemagick/cylinderize/index.php, i downloaded it also, what type of file is it? im tring to read it but i cant manage ,what type of script is it, how can i run it? is there any way to use this through php? hopefull...
by javismiles
2011-06-17T22:46:35-07:00
Forum: Fred's Scripts
Topic: cylindrical distortion
Replies: 6
Views: 27301

cylindrical distortion

hi and good day :) quick question, what is the most efficient way to do a cylindrical distortion? so i have a flat picture and i want to project it in perspective on a cylinder? the operation should combine the cylindrical distortion with perspective at the same time, i know how to do the perspectiv...
by javismiles
2011-06-17T11:25:17-07:00
Forum: Users
Topic: eliminating extra space
Replies: 13
Views: 22026

Re: eliminating extra space

by the way, i believe in recognizing good things when i see them, and i have to say again, i have never in my life seen a forum that works as well as this one, i think the work Anthony and you are doing helping people here is extraordinary, you guys always answer so fast and so well, im really amaze...
by javismiles
2011-06-17T11:21:33-07:00
Forum: Users
Topic: eliminating extra space
Replies: 13
Views: 22026

Re: eliminating extra space

aha i see, very nice the "-define distort:viewport=125x125-25-25 "
this looks great, so the question now is

in terms of performance what is faster?
to use +distort ?
or to use -define distort:viewport=125x125-25-25 ?
by javismiles
2011-06-17T11:20:24-07:00
Forum: Users
Topic: eliminating extra space
Replies: 13
Views: 22026

Re: eliminating extra space

thank u very much Fred :)
+ distort seems to work, i just tried it, all i did was to change
-distort to +distort and it works, seems to work,

are there are differences in performance between using +distort and using the viewport solution?

i will now check your link of the viewport solution
by javismiles
2011-06-17T11:16:49-07:00
Forum: Users
Topic: eliminating extra space
Replies: 13
Views: 22026

Re: eliminating extra space

ahaaa i see that +distort seems to work now, mmm , nice what about the alternative anthony says? the "However you can override BOTH techniques by specifying a expert 'viewport' setting you want to use to 'view' the distorted space." i would like to do that, sounds like the best of it all s...
by javismiles
2011-06-17T11:13:24-07:00
Forum: Users
Topic: eliminating extra space
Replies: 13
Views: 22026

Re: eliminating extra space

thank u very much Fred the extent is working already, not a problem anymore the big problem i have now is that the image im distorting is being cropped by its own boundaries, im trying to understand anthony's explanation of how to allow the distortion to go beyond the image's own boundaries, do u kn...
by javismiles
2011-06-17T11:11:53-07:00
Forum: Users
Topic: eliminating extra space
Replies: 13
Views: 22026

Re: eliminating extra space

i just saw this by Anthony so should i use + distort instead of -distort? i tried but nothing seemed to happen, and how do i "specifying a expert 'viewport' setting you want to use to 'view' the distorted space" ? i can see that i need some way of telling the system to apply the distort wi...
by javismiles
2011-06-17T11:03:38-07:00
Forum: Users
Topic: eliminating extra space
Replies: 13
Views: 22026

Re: eliminating extra space

i can now explain better my confusion lets say my image has dimensions 680x952 if i use these points in perspective distorsion $p1="0,0";$p2="680,0";$p3="680,952";$p4="0,952"; $w1="0,0";$w2="680,0";$w3="680,952";$w4="0,952&qu...
by javismiles
2011-06-17T10:52:01-07:00
Forum: Users
Topic: parameters and relative positioning in distort
Replies: 2
Views: 5703

parameters and relative positioning in distort

hi my friends in a command that uses ' -matte -virtual-pixel transparent -distort Perspective' within a larger canvas i dont understand well how the point numbers work, they seem to behave in a peculiar way, if i understand well, those numbers map how each of the 4 corners of the picture move, where...
by javismiles
2011-06-17T10:32:35-07:00
Forum: Users
Topic: eliminating extra space
Replies: 13
Views: 22026

Re: eliminating extra space

seems that i can do it by adding at the end

-extent $finalwidthx$finalheight

that seems to work, is that the best way to reduce the final size to the desired one?

thank u very much
jav
by javismiles
2011-06-17T10:19:55-07:00
Forum: Users
Topic: eliminating extra space
Replies: 13
Views: 22026

eliminating extra space

Dear friends in a command where i make a perspective distorsion over another image, extra white space is created in the resulting image, how can i eliminate it within the same original command? $command= 'convert '.$source1.' ( '.$source.' -matte -virtual-pixel transparent -distort Perspective "...
by javismiles
2011-06-17T00:52:27-07:00
Forum: Users
Topic: perspective distorsion problem
Replies: 12
Views: 21675

Re: perspective distorsion problem

uff it works now in linux i needed to add the \ special character before the ( and ) :) so final question i see it takes a while, is there any other faster command? or this is the fastest? i mean, its fast :) but just wondering if this one is the fastest? $command =$magic.' '.$source.' -matte -virtu...
by javismiles
2011-06-17T00:40:03-07:00
Forum: Users
Topic: perspective distorsion problem
Replies: 12
Views: 21675

Re: perspective distorsion problem

question

it works in windows with 6.7.0-6
but it doesnt work in linux with 6.6.8-5

is this a problem of the version? or of the syntax?

thank u :)
by javismiles
2011-06-17T00:32:09-07:00
Forum: Users
Topic: perspective distorsion problem
Replies: 12
Views: 21675

Re: perspective distorsion problem

ah, magic of imagemagick :)
it works now, its just all matter of formatting, quotes etc
ay ay ay
thank u my friends :)

so this is the best command for perspective isnt it? seems quite fast, any other recommendation?

smiles
jav :)