RetouchPRO

Go Back   RetouchPRO > Tools > Software
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


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

XML invalid

Reply
 
Thread Tools
  #1  
Old 11-06-2005, 03:55 PM
Cameraken's Avatar
Cameraken Cameraken is offline
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,158
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
Reply With Quote top
  #2  
Old 11-07-2005, 08:26 AM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
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.

Reply With Quote top
  #3  
Old 11-07-2005, 01:02 PM
Cameraken's Avatar
Cameraken Cameraken is offline
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,158
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
Reply With Quote top
  #4  
Old 11-07-2005, 02:50 PM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
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.


Reply With Quote top
  #5  
Old 11-07-2005, 03:57 PM
Cameraken's Avatar
Cameraken Cameraken is offline
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,158
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)
Reply With Quote top
Reply

  RetouchPRO > Tools > Software


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid jpeg marker - Need help!!! sondregutt Software 22 12-29-2011 05:03 AM


All times are GMT -6. The time now is 06:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved