RetouchPRO

Go Back   RetouchPRO > Tools > Software

Notices

Software Photoshop, Paintshop Pro, Painter, etc., and all their various plugins. Of course, you can also discuss all other programs, as well.

Reply
 
LinkBack Thread Tools
  #1  
Old 11-06-2005, 02:55 PM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,112
XML invalid

Hi Everyone.

I have found an oilpainting program that I can’t get running.

It’s here

http://www.kvack.com/painter.html

I’ve created a folder C:\oilpainter
And in it I’ve created a batch file, C:\oilpainter\Painter.bat

The batch file contains

cd C:\oilpainter\Painter.bat
painter image14


But when I run it it says invalid xml file.

Can anyone help please.

Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #2  
Old 11-07-2005, 07:26 AM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goiânia, Brazil
Posts: 1,548
Ken, seems from what I read on this page you need to generate a XML file to contain all the parameters that the program is going to need to process the image.
Quote:
The program uses XML scene files as configuration......XML files are assumed to be in proper syntax, and all required elements are included to properly generate a scene.
Shame he doesn't give some sort of example file to give us a jump start.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #3  
Old 11-07-2005, 12:02 PM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,112
Thanks for your interest Rô.

I have studied that page long and hard.

There are some sample XML files in the download. If you download
Oil Painter Program (1.21 MB) it contains a sample image (image14.bmp)
And a sample XML file (bmp.xml)

But this is where my problem is, as it is their sample XML file that is causing the invalid xml bmp error.

I hope you can find time to take another look at this.

Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #4  
Old 11-07-2005, 01:50 PM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goiânia, Brazil
Posts: 1,548
OK, Ken, got it now!

The file that comes after the Painter command must be the XML file, which will specify what the program should do.
The file you put there was the image ("image 14") and not the XML file. If you open the file "bmp.xml" you'll see that it is in this file that the input image is specified.
So... your command line should be "painter bmp.xml" - works fine.

obs:
1) This XML file will generate a new file "foliageoil" with the result;
2) Don't change windows while you wait - I did some bank work while it was thinking and ended up with a screenshot of the bank transaction!;
3) When I first tried to run it, there were two dll's missing (MSVCP70 and MSVCR70). Fortunately a quick Google turns them up for free download.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #5  
Old 11-07-2005, 02:57 PM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,112
Thanks Rô.

Yes. I missed the .XML extension.

So the Batch file just needs to be

painter bmp.xml

And the rest is controlled by the settings in the xml file.

I don’t know if you spotted my other post ‘Java Class Files’. The results from that were great but there was no save (apart from a screenshot). At least this one has a save.

Thanks again Rô for sorting that out. Now I’ll play with the settings and see what it can do.


Ken
Attached Images
File Type: jpg foliageoil2.jpg (77.9 KB, 13 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid jpeg marker - Need help!!! sondregutt Software 17 01-03-2007 10:16 PM


All times are GMT -6. The time now is 05:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 2008 Doug Nelson. All Rights Reserved




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51