Problem at command line

114 views
Skip to first unread message

bolnikh

unread,
Jun 26, 2007, 1:55:48 AM6/26/07
to url2jpeg
I run
url2jpeg.exe /script capurl.xml /destination . /run /minimize /exit
but have problem
script return empty jpeg file - just white color, nothing more

When I run url2jpeg.exe and script capurl.xml manually - it work as
need.

What cant it be?

url2jpeg team

unread,
Jun 26, 2007, 7:45:18 AM6/26/07
to url2jpeg

Hi,

To reproduce the problem can you give one web site adress?

url2jpeg support

bolnikh

unread,
Jun 27, 2007, 5:18:11 AM6/27/07
to url2jpeg
Hi.

I test it on few sites.
http://www.job.ru - failed,
http://www.google.com - ok,
http://www.wcat.info - failed,
http://www.yahoo.com - failed,
http://www.mail.com - failed

I start It from bat file
----- bat file --------


url2jpeg.exe /script capurl.xml /destination . /run /minimize /exit

----------
from the same directory, where url2jpeg was installed

I used the same capurl.xml file, only <url>http://www.google.com</url>
was changed

---------- capurl.xml --------
<?xml version="1.0" encoding="utf-8"?>
<scripts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<scriptList>
<scriptData>
<name>out.jpg</name>
<url>http://www.google.com</url>
<bRemoveScrollBar>true</bRemoveScrollBar>
<bAutoResize>true</bAutoResize>
<initialSize>
<Width>1024</Width>
<Height>682</Height>
</initialSize>
<sizeOffset>
<Width>0</Width>
<Height>0</Height>
</sizeOffset>
<timeOut>30</timeOut>
<waitBeforeCapture>200</waitBeforeCapture>
<capture>Full</capture>
<captureParam>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<X>0</X>
<Y>0</Y>
<Width>0</Width>
<Height>0</Height>
</captureParam>
<resize>Fixed</resize>
<resizeParam>
<Width>120</Width>
<Height>80</Height>
</resizeParam>
<format>Jpeg</format>
</scriptData>
</scriptList>
</scripts>

----------------

script return empty (blank) jpeg 120x80 when failed

Reply all
Reply to author
Forward
0 new messages