forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 70 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Fortran procedure to move a file.
eric_carwardine

Replies: 3
Views: 3652

PostForum: General   Posted: Mon May 17, 2021 10:19 pm   Subject: Fortran procedure to move a file.
Hallo;

Is there a Fortran procedure to move a file from one location to another?

The locations will be on different devices, such as C: and H:

Eric[/i]
  Topic: How to fix "Stack Overflow" in Personal Edition.
eric_carwardine

Replies: 1
Views: 2333

PostForum: Support   Posted: Wed May 05, 2021 9:14 am   Subject: How to fix "Stack Overflow" in Personal Edition.
http://www.letterfromthornlie.com.au/images/Stack_overflow.jpg
  Topic: Can ClearWin handle images other than bitmap (.bmp)
eric_carwardine

Replies: 9
Views: 6233

PostForum: ClearWin+   Posted: Wed Aug 05, 2020 8:44 am   Subject: Re:

''Computers (HAL and MARVIN excepted) are incredibly rigid. They question nothing. Especially input data.Human beings are incredibly trusting of computers and don't check input data. Together cockin ...
  Topic: Can ClearWin handle images other than bitmap (.bmp)
eric_carwardine

Replies: 9
Views: 6233

PostForum: ClearWin+   Posted: Wed Aug 05, 2020 7:56 am   Subject: Re:

FTN95.CHM is your friend.


But who are my enemies? I need to keep them closer than my friends.

Thank you, Eddie. Your post has provided much data for experimentation, as do all student theses ...
  Topic: Can ClearWin handle images other than bitmap (.bmp)
eric_carwardine

Replies: 9
Views: 6233

PostForum: ClearWin+   Posted: Fri Jul 31, 2020 6:10 am   Subject: Re:
According to the documentation, you can use IMPORT_IMAGE@ function to import BMP, JPEG, GIF, EMF, and PCX to place the image in a graphics window.

You can export to PNG as well (EXPORT_IMAGE@).
...
  Topic: Can ClearWin handle images other than bitmap (.bmp)
eric_carwardine

Replies: 9
Views: 6233

PostForum: ClearWin+   Posted: Fri Jul 31, 2020 3:19 am   Subject: Re:

I would not convert to BMP unless I had a specific reason or application that only accepted BMP.. I'd choose either JPEG2000 (JP2 in IrfanView, right?) or PNG. JPEG2000 and PNG are lossless compress ...
  Topic: Can ClearWin handle images other than bitmap (.bmp)
eric_carwardine

Replies: 9
Views: 6233

PostForum: ClearWin+   Posted: Thu Jul 30, 2020 11:05 pm   Subject: Can ClearWin handle images other than bitmap (.bmp)
Where in the Clearwin manual should I look for the types of image that Clearwin can handle?

I'm particularly interested in displaying images other than device-independent bitmaps (.bmp)

My proje ...
  Topic: Procedure to display images
eric_carwardine

Replies: 21
Views: 18798

PostForum: General   Posted: Sat Oct 12, 2019 10:13 pm   Subject: Re:
If all else fails, read the documentation...


Thank you Paul.

I have the Clearwin+, Fortran edition, 436-page manual but it does not mention IMPORT_IMAGE@, only IMPORT_BMP@ and IMPORT_PCX@
...
  Topic: Procedure to display images
eric_carwardine

Replies: 21
Views: 18798

PostForum: General   Posted: Tue Oct 08, 2019 9:29 am   Subject: Re:
G'day again, Paul;

Images can be displayed by calling winio@. For example, using %bm or %im or %ic plants an image directly to the Window. Alternatively you can use %gr to create a drawing surface ...
  Topic: Procedure to display images
eric_carwardine

Replies: 21
Views: 18798

PostForum: General   Posted: Mon Oct 07, 2019 10:02 am   Subject: Re:

Well done getting the prog working.


Not yet fully working John; need to determine if "file.jpg" in the code following can be a character-array element, such as file_path(k).


iw = ...
  Topic: Procedure to display images
eric_carwardine

Replies: 21
Views: 18798

PostForum: General   Posted: Sun Oct 06, 2019 3:55 am   Subject: Re:
G'day again, Paul!

My example code should, of course, have included a preview of the image.

Images can be displayed by calling winio@. For example, using %bm or %im or %ic plants an image direct ...
  Topic: Procedure to display images
eric_carwardine

Replies: 21
Views: 18798

PostForum: General   Posted: Sun Oct 06, 2019 3:42 am   Subject: Re:
G'day John! Smile


Eric .... G'day cobber Smile
Nice signature' you have there by the way Smile
Something we should all never forget.


Yes, 'cobber', a salutation as rare in Australia these days a ...
  Topic: Procedure to display images
eric_carwardine

Replies: 21
Views: 18798

PostForum: General   Posted: Sun Oct 06, 2019 3:25 am   Subject: Re:
Thank you Paul! Smile

Images can be displayed by calling winio@. For example, using %bm or %im or %ic plants an image directly to the Window. Alternatively you can use %gr to create a drawing surface ...
  Topic: Procedure to display images
eric_carwardine

Replies: 21
Views: 18798

PostForum: General   Posted: Sun Oct 06, 2019 2:57 am   Subject: Re:
G'day Brian! Smile

Eric,

This is some F77 style code I used several years ago to add a logo defined in a resource file to a plot.

Brian


That caught my eye, Brian. I will re-visit your appr ...
  Topic: Procedure to display images
eric_carwardine

Replies: 21
Views: 18798

PostForum: General   Posted: Sat Oct 05, 2019 6:01 am   Subject: Procedure to display images
Hallo! Smile

Is there a Clearwin procedure to display images within a Fortran program?

Images such as .jpg, .jpeg, .gif, .bmp, .png

Eric
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group