Jump to content

Recommended Posts

Posted

Hi Id like to know if you can display a tiff in the gui, I have bmp working using the following code

$gui_browser = GUICtrlCreatePic($u, 10, 320, 780, 300)
GUICtrlSetImage ($gui_browser, $u)
but it does not work when $u = a tiff / tif file. Suggestions please :)
Posted

Hi Id like to know if you can display a tiff in the gui, I have bmp working using the following code

$gui_browser = GUICtrlCreatePic($u, 10, 320, 780, 300)
 GUICtrlSetImage ($gui_browser, $u)
but it does not work when $u = a tiff / tif file. Suggestions please :)
save the tif as a bmp

8)

NEWHeader1.png

Posted

Hi Id like to know if you can display a tiff in the gui, I have bmp working using the following code

save the tif as a bmp

8)

1) Im writing a picture viewer / filer

2) I asked howto display a tiff

3) I allready have bmp's working

4) whats the point of writing an app for viewing tiffs if your solution is to have the end user export each individual tiff to bmp, its not very autoit is it ?

So I ask again does any1 have a solution for displaying a TIFF file - read Valuater a "TIFF" file, not a BMP.

If autoit is unable to display tiff's at all please let me know, but Im sure it must have some way of achieving it given how many other windows objects can be embedded.

Posted

1) Im writing a picture viewer / filer

2) I asked howto display a tiff

3) I allready have bmp's working

4) whats the point of writing an app for viewing tiffs if your solution is to have the end user export each individual tiff to bmp, its not very autoit is it ?

So I ask again does any1 have a solution for displaying a TIFF file - read Valuater a "TIFF" file, not a BMP.

If autoit is unable to display tiff's at all please let me know, but Im sure it must have some way of achieving it given how many other windows objects can be embedded.

No tiff display built-in to AutoIt (that I know of) but this post http://www.autoitscript.com/forum/index.ph...=0&p=366854

by big_daddy embeds Windows' native picture viewer into a Gui, might help?

Posted

You could always use those _GDIP_ functions from the Auto3Lib. They're Windows GDI+ functions and support opening tiffs etc. It works in a bit peculiar way, but I'll try to help if you can't make it work.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...