Author Topic: Wxtoimg  (Read 3574 times)

0 Members and 1 Guest are viewing this topic.

Offline talbert1952

  • Contributor
  • ***
  • Posts: 146
    • http://tobaccovilleweather.com
Wxtoimg
« on: December 12, 2006, 12:59:11 PM »
I would like to put a thumbnail of the last received satellite image on my home page. Does anyone know of a way to generate a fixed name thumbnail of the last received satellite image without upsetting the standard file generation? I can do it externally to wxtoimg but I really don't want to go that route if I don't have to.
Tom
W4SNA
IRLP 4069 - Echolink W4SNA-R

http://tobaccovilleweather.com/
Hardware: Davis 6153 wireless VP2 with 24 hr fan aspirated radiation shield, WMR968, Boltek Stormtracker PCI,
  Hamtronics R139, stacked Woodhouse 6X6 beams on Yaesu G-5500 az/el rotator
Software: Weatherlink, VWS, Image Salsa, Lightning/2000, GRLevel3 with Allison House data feed, WxtoImg

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 4252
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Wxtoimg
« Reply #1 on: December 13, 2006, 01:21:12 PM »
Tom, you didn't say how you wanted the image to be resized, or if it's from your website or another.  If you have PHP available, you could try using my resize-NOAA-IOD.php script (resizes the NOAA Image of the Day) and modify it to your needs..
http://saratoga-weather.org/scripts-images.php#NOAAIOD

It also does image cacheing :-)

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline talbert1952

  • Contributor
  • ***
  • Posts: 146
    • http://tobaccovilleweather.com
Re: Wxtoimg
« Reply #2 on: December 13, 2006, 07:25:47 PM »
Wxtoimg already builds the images I need. I just can't figure out how to natively generate a set of images with fixed names for the home page and still generate the satellite/date stamped images needed to build the main satellite page. It probably isn't possible but I thought I would ask before I started programming.
Tom
W4SNA
IRLP 4069 - Echolink W4SNA-R

http://tobaccovilleweather.com/
Hardware: Davis 6153 wireless VP2 with 24 hr fan aspirated radiation shield, WMR968, Boltek Stormtracker PCI,
  Hamtronics R139, stacked Woodhouse 6X6 beams on Yaesu G-5500 az/el rotator
Software: Weatherlink, VWS, Image Salsa, Lightning/2000, GRLevel3 with Allison House data feed, WxtoImg

Offline talbert1952

  • Contributor
  • ***
  • Posts: 146
    • http://tobaccovilleweather.com
Re: Wxtoimg
« Reply #3 on: December 21, 2006, 09:31:51 AM »
There doesn't appear to be a built-in way in wxtoimg to do this so I wrote a program that makes copies of the originals and renames the copies to the fixed name versions needed for my home page.
Tom
W4SNA
IRLP 4069 - Echolink W4SNA-R

http://tobaccovilleweather.com/
Hardware: Davis 6153 wireless VP2 with 24 hr fan aspirated radiation shield, WMR968, Boltek Stormtracker PCI,
  Hamtronics R139, stacked Woodhouse 6X6 beams on Yaesu G-5500 az/el rotator
Software: Weatherlink, VWS, Image Salsa, Lightning/2000, GRLevel3 with Allison House data feed, WxtoImg