No announcement yet.

XML invalid

  • Filter
  • Time
  • Show
Clear All
new posts

  • XML invalid

    Hi Everyone.

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

    It’s here

    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.


  • #2
    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.
    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.


    • #3
      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.



      • #4
        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.

        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.


        • #5
          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.

          Attached Files


          Related Topics


          • thomashubba19
            Recover a Drawing File
            by thomashubba19
            I have a .dwg file that i can not open.
            I opend Autocad and did a recover and
            still can not access the Drawing File.
            The system does not have a saved file
            How can I recover the bad .dwg file.????
            02-18-2015, 01:32 AM
          • memphishooter
            file browser
            by memphishooter
            I have PS7 in a new machine, with Windows, giving me 16 x 9 screen. Thing is, I like to bring files into PS7, set em up in file browser and batch rename, so the files are sequential, and the file #'s are only two digits long. I can't find the triangle that I used to see when I had this exact same program...
            01-28-2010, 04:36 PM
          • Donamai
            Is the Photoshop Log.txt file Helpful?
            by Donamai

            It seems that no matter what I do when working with images I "always" forget to do something.

            I just created for myself the best of the problems. I hope my question does not sound outdated or out of context.

            I finished working on an image, I...
            08-22-2006, 07:31 PM
          • W. Rose
            Lost the file
            by W. Rose
            Can anyone help me find a file, i downloaded this file Recom Team 1st PLTO but now i cannot find it.
            Thanks, Wayne
            06-18-2004, 12:16 PM
          • shootphoto
            unstuffing a file
            by shootphoto
            i have a photoshop file that was sent to me in a sitz format....i cant seem to get it unstuffed....

            can anyone help?
            01-03-2007, 06:15 PM