It is currently Thu Jul 25, 2024 11:22 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: A different perspective
PostPosted: Sun Jul 15, 2012 2:55 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
I created this bat file for Windows users.
Program only tested on the Windows XP 32 bit platform.You need to have image magick installed.

Any PNG Perspective Transformer.

You can unzip the bat and image file here - C:\Make_Perspective. (create the Make_Perspective folder)
Any PNG image you want to transform rename it to 1.png and drag and drop it on the bat file
the image will be transformed and saved as 1_pers.png in YOUR user directory.
Now just rename the file and your good to go.
Transform this
Image
INTO
Image


Attachments:
AnyPNGPerspectiveWin32-v-1.0.zip [599.47 KiB]
Downloaded 142 times

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: A different perspective
PostPosted: Sun Jul 15, 2012 3:16 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
I am trying to get this to work in Shellout but i am having some difficulty Rob. :\
Any idea how i would fix the bat code to work in Shellout?

@echo off
echo *** Do Not Close this Window ***
convert C:\Make_Perspective\1.png -matte -virtual-pixel transparent -distort Perspective "0,0,0,0 0,90,0,90 90,0,90,2 90,90,90,91" 1_pers.png
echo "All done ..."
PAUSE


My Shellout code
  ["Perspective Transform", "\"C:\\Make_Perspective\\Perspective.bat\"", "png"],

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: A different perspective
PostPosted: Sun Jul 15, 2012 3:52 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
The old Perspective Reflection script still works in Gimp-2.8! :)
I did not realize that.
http://registry.gimp.org/node/15784

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: A different perspective
PostPosted: Sun Jul 15, 2012 6:30 pm  (#4) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
maybe is possible use also this http://www.sb-software.com/nonlinear/index.html with shell out ?

it is quite old and not much known but is a very good tool

(it should even be possible emulate in gmic, once David even explain me how in theory, but i had not sufficient patience to code it )

PS on the site you will also see "purchase" and "register", but is donation-ware: you may try as long you wish, it never expire, but ifif you like the author invite you to register (in case using the "contact" link because the register link is broken)

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: A different perspective
PostPosted: Mon Jul 16, 2012 8:22 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
Thanks PC.I have this program already and it doesn't create perspective transforms.Only warping effects on a square or rectangle. :)
I also tried Inkscape by opening the image in Inkscape through shellout and doing an object to pattern.But that didn't export back into Gimp very well.It was a plain white image.
I will keep trying to get this bat file to work in Shellout i guess.
The reflective perspective script works ok but i wanted something that only warps the image and does it the same every time.
HeathenX (where i got the idea from), has this tutorial for Ubuntu operating systems. I wanted to get it working in Windows.Which i was able to do, but i would like to be able to export it through shellout to the bat file and back into Gimp.I just don't know how to script the proper code for that.

If i could find an open source program for windows that would do this type of perspective transformation that would be pretty cool.Then i could just call the program through shellout as normal.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: A different perspective
PostPosted: Mon Jul 16, 2012 2:25 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Rod wrote:
If i could find an open source program for windows that would do this type of perspective transformation that would be pretty cool.Then i could just call the program through shellout as normal.

Have you tried GMIC, Artistic, Reflection?
Just set the Height to "0".


Attachments:
File comment: GMIC, Artistic, Reflection
artistic-reflection.png
artistic-reflection.png [ 242.18 KiB | Viewed 2934 times ]

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)
Top
 Post subject: Re: A different perspective
PostPosted: Mon Jul 16, 2012 6:12 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14730
Location: USA
Odinbc wrote:
Rod wrote:
If i could find an open source program for windows that would do this type of perspective transformation that would be pretty cool.Then i could just call the program through shellout as normal.

Have you tried GMIC, Artistic, Reflection?
Just set the Height to "0".


Is there any way to get the edges less jaggy without cropping?

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: A different perspective
PostPosted: Mon Jul 16, 2012 7:37 pm  (#8) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
I just used the Perspective tool on this one.


Attachments:
File comment: Perspective Tool only
artistic-reflection-gc.png
artistic-reflection-gc.png [ 228.69 KiB | Viewed 2920 times ]

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)
Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Perspective

6

No new posts Seamless pattern in perspective

4

No new posts Attachment(s) PERSPECTIVE TOOL BENDING OTHER SIDE BACK

13



* Login  



Powered by phpBB3 © phpBB Group