Silverfrost Forums

Welcome to our forums

IMPORT_BMP@ - equivalents for JPG, GIF, PNG ?

22 Jun 2017 4:24 #19798

The amount of memory available with 32 bit /CHECK is more limited than in other configurations. There are no plans the 'fix' this.

The failure message 'Reference through NULL Fortran POINTER' could be more explicit. If you could supply a short sample program to illustrate the failure then it should be possible to sort this out.

22 Jun 2017 5:23 #19800

Thanks Paul - Explanation is fine - it works OK without the /CHECK. I am sure that error message was a side effect of the ALLOCATE problem, because it's gone away now.

I have also found how to handle some other graphic formats, with a call to use_gdiplus_image_files@ - gives me TIFF and PNG and some others.

So far, so good. I just wait now until my customer tells me his graphic image file isn't in one of the GDI+ formats !

5 Jul 2017 10:35 #19832

Hi John - it's in the cwplus.enh file in item 359 (FTN95 v7.10). Works like a dream, and the beauty is you don't have to change any other coding, just put the call to this before your GET_DIB_BLOCK@ etc. The Microsoft website (google Microsoft GDI+ graphics to find the page) gives details of the other graophics files that are supported for read or write

Please login to reply.