Dick Hoskins wrote:
> 
>         In a MapBasic program I am saving a PNG format window. How to I increase
> the resolution? (Save Window)  PNG format rather than jpeg or gif allows a
> very good image to be saved, far better than jpeg, image as good as gif, and
> a smaller file size than both. Loads quicker in a browser.

Hi Dick!

Try something like

Save Window Frontwindow() As "X:\Temp\image.png" Type "png" Width
4*(WindowInfo(FrontWindow(),WIN_INFO_WIDTH)) Height
4*(WindowInfo(FrontWindow(),WIN_INFO_HEIGHT)) Copyright "�GisKraft"

(all goes on one line of code)

Thus you will increase the resolution by 4 when printed to the size the
window has on screen.

The png is a splendid space saver, beats both gif and jpeg for mapping.
Note also that you can copyright stamp the image nicely (erase the last
statement if not applicable)

Regards, Mats.E
-- 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:Email/ [EMAIL PROTECTED]                     ICQ#9517386       :
:---------------------------------------------------------------------:
:Mail/ GISKRAFT, Mats Elfstroem, Vaepplingv 21, SE-227 38 LUND, SWEDEN:
:Phones: +46 46 145959, +46 70 595 3935                               :
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to