[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #SBC-350178]: Image Size Problem



Greetings Garrett,

> Full Name: Garrett Gwiazda
> Email Address: address@hidden
> Organization: Garrett Gwiazda
> Package Version: 3.0u2 build date:2012-02-10 17:21 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Program Files\IDV_3.0u2\jre version: 1.6.0_20 
> j3d:1.5.2 fcs (build4)
> Description of problem:
> 
> Good day,
> 
> I'm working on making an automated bundlefor my website. I am basically
> trying to overlay a semi-transparent radar onto Google Maps. The first
> issue I'm running into is image size when saving a file. When I run my
> .isl file, it can't produce the full image size of 3000x4736 that I'm
> looking for. Instead, I basically get the maximum screen size of the
> image (1920x1080). Is there a way to work around the issue of Windows
> locking the screen at your screen resolution when you run a .isl?
 
I wasn't able to reproduce this on my machine, but I'm not running windows.
Could you send me the image file the idv produces when your run your
script?

> My second issue at hand is trying to save a .png without the the black stock
> background. I need a transparent background and I can't seem to figure
> it out. Any help would be appreciated with these two problems I've got.

You need to add a <backgroundtransparent/> tag inside of <image>, like so:

<?xml version="1.0" encoding="ISO-8859-1"?>
<isl debug="true" loop="1" offscreen="true" sleep="5.0minutes" times="258">
<bundle clear="true" file="${islpath}/conus_radar.xidv" height="3000" 
width="4736" wait="true"/>
<image file="${islpath}/conus_radar.png">
<backgroundtransparent/>
</image>
</isl>

Note that your height and width values were switched.

Cheers!

Sean

> All the best,
> Garrett
> 
> Below is my .isl file. I could only attach one file inside the IDV ticket 
> system.
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <isl debug="true" loop="1" offscreen="true" sleep="5.0minutes" times="258">
> <bundle clear="true" file="${islpath}/conus_radar.xidv" height="4736" 
> wait="true" width="3000"/>
> <image file="${islpath}/conus_radar.png"/>
> </isl>
> 
> 

Ticket Details
===================
Ticket ID: SBC-350178
Department: Support IDV
Priority: Normal
Status: Open