- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
During runtime, I need to load images from files (either .bmp, .tif or .jpg) and display them on the screen.
I tried loadimage but it seems to work only with file made by saveimage.
Thanks for help
I tried loadimage but it seems to work only with file made by saveimage.
Thanks for help
- Marcas:
- Intel® Fortran Compiler
Link copiado
5 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
The attached code contains functions to read, display and print standard Windows bitmap (ie, *.bmp) image files. This is relatively straightforward using the native win32 API functions for bitmap operations.
Similar operations with .tif and .jpg formats are not included in the Windows API, and require external library functions. I am not aware of any available F90 code for these image types (and have not had sufficient need for it to bother rewriting the various C routines which can be found for this purpose).
Similar operations with .tif and .jpg formats are not included in the Windows API, and require external library functions. I am not aware of any available F90 code for these image types (and have not had sufficient need for it to bother rewriting the various C routines which can be found for this purpose).
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
You can load the required software from
www.freeimage.sf.net
It can load a wide range of image formats into
memory and is quite easy to use,
www.freeimage.sf.net
It can load a wide range of image formats into
memory and is quite easy to use,
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
For Intel Fortran users you can use the Intel Array Visualizer libraries to load jpeg, bmp, png, or gif files. I've attached an example program here. Note that the same code will work regardless of the image format.
John
John
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Sorry but i'm new here. You referred to attached code, but I couldn't see how to access it. Please let me know how to retrieve your attachment.
Thanks,
Frank
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Sorry, that attachment is no longer available, and the Array Visualizer is no longer a part of the product. You may want to ask in the Array Visualizer section of this forum - the software is available as a free download.

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora