How to join the Teton Range and the Alps (was: Joining 2 images)

2009-05-10 Thread Wilhelm Sanke
I have been touring through the German "National Park Berchtesgaden" (about 12 miles from Salzburg, where Mozart was born and lived part of his life) for the last two weeks. While I was able to monitor the discussion about "Joining 2 images" via my cellphone, I was u

Re: Joining 2 images

2009-05-04 Thread Sarah Reichelt
On Mon, May 4, 2009 at 1:10 PM, Mark Smith wrote: > I've nearly got it working without image magick. > > This works perfectly in the rev ide: > > function joinImages imgFile1, imgFile2 > >        set the textdata of the templateimage to url ("binfile:" & imgFile1) >        put the width of the tem

Re: Joining 2 images

2009-05-04 Thread Gordon Tillman
David Bovill wrote: Gordon - if there is any chance you adding a very brief description of what you managed to compile and the shell commands you used to the On-Rev forum - or just post it here - it would be a great help? David I'm writing it up now and will post a link shortly. --gordon __

Re: Joining 2 images

2009-05-04 Thread David Bovill
Thanks a lot for the info Gordon. That's pretty well made my mind up - going to keep my On-Rev account, and start getting stuck in :) Gordon - if there is any chance you adding a very brief description of what you managed to compile and the shell commands you used to the On-Rev forum - or just pos

Re: Joining 2 images

2009-05-04 Thread David Bovill
2009/5/4 Mark Smith > Well, a shell call to "convert" within an irev script got the dreaded > "command not found" response... Good grief! Looks like the On-Rev hosting is really stripped down to a bare bones minimum. What happens if you type any of the following at the command line: - make

Re: Joining 2 images

2009-05-04 Thread Gordon Tillman
David Bovill wrote: Good grief! Looks like the On-Rev hosting is really stripped down to a bare bones minimum. What happens if you type any of the following at the command line: - make --version - svn --version David here is the output from those commands: # make --version GNU Make 3.81

Re: Joining 2 images

2009-05-04 Thread Mark Smith
Well, a shell call to "convert" within an irev script got the dreaded "command not found" response... Also, a bit more on the templateimage in on-rev: You can and then get the correct dimensions of the referenced image file with and but , though it will be the right size, will be all nul

Re: Joining 2 images

2009-05-04 Thread David Bovill
2009/5/4 Mark Smith > > get shell("convert img1.jpg img2.jpg +append result.jpg") > > As far as I can tell, magick is not installed on on-rev - I'm not sure how > you'd go about installing it, as we don't seem to get shell access. Perhaps > a call to on-rev support? Are you sure? Would be a str

Re: Joining 2 images

2009-05-03 Thread Mark Smith
Well it seems to kniow about the templateImage, because it can get it's dimensions and so on, and gets no errors - perhaps it's in the export statement - though as I say, the script runs and returns without errors... Best, Mark On 4 May 2009, at 04:13, Sarah Reichelt wrote: I would gue

Re: Joining 2 images

2009-05-03 Thread Sarah Reichelt
On Mon, May 4, 2009 at 1:10 PM, Mark Smith wrote: > I've nearly got it working without image magick. > > This works perfectly in the rev ide: > > function joinImages imgFile1, imgFile2 > >        set the textdata of the templateimage to url ("binfile:" & imgFile1) I would guess that since on-rev

Re: Joining 2 images

2009-05-03 Thread Mark Smith
I've nearly got it working without image magick. This works perfectly in the rev ide: function joinImages imgFile1, imgFile2 set the textdata of the templateimage to url ("binfile:" & imgFile1) put the width of the templateimage into w1 put the height of the templateimag

Re: Joining 2 images

2009-05-03 Thread Sarah Reichelt
On Mon, May 4, 2009 at 11:14 AM, Mark Smith wrote: > In fact it is easy: > > if you want to join two images, "img1.jpg" and 'img2.jpg" it would look like > this: > > get shell("convert img1.jpg img2.jpg +append result.jpg") > > As far as I can tell, magick is not installed on on-rev - I'm not sure

Re: Joining 2 images

2009-05-03 Thread Mark Smith
In fact it is easy: if you want to join two images, "img1.jpg" and 'img2.jpg" it would look like this: get shell("convert img1.jpg img2.jpg +append result.jpg") As far as I can tell, magick is not installed on on-rev - I'm not sure how you'd go about installing it, as we don't seem to get

Re: Joining 2 images

2009-05-03 Thread Mark Smith
This may be easy to do in magick: http://www.imagemagick.org/script/command-line-options.php#append Best, Mark On 4 May 2009, at 01:56, Mark Smith wrote: Sarah, others may know better, but I think you'll find this difficult to do. The way one might do this in a stack would be to import bo

Re: Joining 2 images

2009-05-03 Thread Mark Smith
Sarah, others may know better, but I think you'll find this difficult to do. The way one might do this in a stack would be to import both images, then get the imageData of each, and join them up. The imageData is actually just a list of pixel values as they are rendered by rev. Typically, a

Joining 2 images

2009-05-03 Thread Sarah Reichelt
Hi all you graphics gurus out there, I have 2 images, each 40 x 40 pixels. I want to join then side by side to end up with an image 80 x 40. Since this is for use in On-Rev, it has to work in script only, no stack or image objects can be used. I am a complete noob when it come to graphics, but I