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 66 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Put_DIB_Block
Norm.Campbell

Replies: 6
Views: 566

PostForum: General   Posted: Sun Feb 25, 2024 11:39 pm   Subject: Put_DIB_Block
My code includes a call to Put_DIB_Block@.

When I run the code from a subdirectory

D:\Kenya drone data 45.1 Gb ref\Samuel 15_16 segment images plots
\Samuel_15_16_2023_12_13_MS_CSV JPG 1.14 Gb ...
  Topic: error when linking with /check /undef
Norm.Campbell

Replies: 8
Views: 997

PostForum: Support   Posted: Wed Jan 17, 2024 11:29 am   Subject: error when linking with /check /undef
I've found the cause of the problem, and fixed it, but I am curious as to why a superfluous common statement should cause the debugger to fail to operate.
  Topic: error when linking with /check /undef
Norm.Campbell

Replies: 8
Views: 997

PostForum: Support   Posted: Wed Jan 17, 2024 2:14 am   Subject: error when linking with /check /undef
Hi Paul

There is a line

common / eig_det / det

in subr cvpgei

called from cvpcvu called from cvscvp called from CVA_successive_projections.

When I comment that out, the code links ...
  Topic: error when linking with /check /undef
Norm.Campbell

Replies: 8
Views: 997

PostForum: Support   Posted: Sun Jan 07, 2024 10:23 am   Subject: error when linking with /check /undef
Thank you Paul

I've sent the code via email.

Please let me know when you receive it.
  Topic: error when linking with /check /undef
Norm.Campbell

Replies: 8
Views: 997

PostForum: Support   Posted: Sun Jan 07, 2024 7:58 am   Subject: error when linking with /check /undef
I have some Fortran code that runs and produces sensible output when I use the following commands:

ftn95 /intl /dreal /64 CVA_ascii_image_n_B_W.for > ftn_compile.out
slink64 CVA_ascii_ima ...
  Topic: PNG transparency
Norm.Campbell

Replies: 6
Views: 7162

PostForum: General   Posted: Mon Oct 10, 2022 12:59 pm   Subject:
You guessed correctly.

My code only appears to write a PNG file because I gave the file name a PNG extension.

When I renamed the output "PNG" file as .BMP, CS4 recognised it (as did Pa ...
  Topic: PNG transparency
Norm.Campbell

Replies: 6
Views: 7162

PostForum: General   Posted: Mon Oct 10, 2022 11:28 am   Subject: PNG transparency
I read that PUT_DIB_BLOCK worked for PNG files, so I changed the extension, and my code wrote a PNG file.

The resulting PNG file (according to its properties) is 24-bit, and displays when I click o ...
  Topic: PNG transparency
Norm.Campbell

Replies: 6
Views: 7162

PostForum: General   Posted: Mon Oct 10, 2022 9:38 am   Subject: PNG transparency
I should have been more explicit.

Currently I have a work-around, where I load the JPG images into Photoshop; define a "transparent" area; and export the resulting edited images as PNGs. ...
  Topic: PNG transparency
Norm.Campbell

Replies: 6
Views: 7162

PostForum: General   Posted: Mon Oct 10, 2022 5:16 am   Subject: PNG transparency
Is it possible to add a transparency layer when creating PNG files?

Norm Campbell
  Topic: RGB@
Norm.Campbell

Replies: 20
Views: 11321

PostForum: 64-bit   Posted: Thu Dec 31, 2020 6:41 am   Subject:
To take your comment seriously, I quite like the 64-bit version.

I spend a fair bit of time writing code to process remotely sensed images. I can usually just fit my images in in 32-bit mode, but w ...
  Topic: RGB@
Norm.Campbell

Replies: 20
Views: 11321

PostForum: 64-bit   Posted: Tue Dec 29, 2020 8:58 am   Subject:
Hi Paul

Just to let others (and you) know that replacing

PUT_DIB_BLOCK@ ( flno, ... )

with

nFUNC = Export_Image@ ( flno )

fixes the problem.

I also replaced DRAW_LINE@ with DRAW_LI ...
  Topic: RGB@
Norm.Campbell

Replies: 20
Views: 11321

PostForum: 64-bit   Posted: Sun Dec 20, 2020 7:45 am   Subject:
Hi Paul

I was about to send you a response, noting that I'd done some more checking, and found that my computer was reporting a memory error when it rebooted, and that perhaps the difference in mem ...
  Topic: RGB@
Norm.Campbell

Replies: 20
Views: 11321

PostForum: 64-bit   Posted: Fri Dec 18, 2020 1:22 pm   Subject:
Hightail wants an email address to send you a notification.
  Topic: RGB@
Norm.Campbell

Replies: 20
Views: 11321

PostForum: 64-bit   Posted: Fri Dec 18, 2020 1:17 pm   Subject:
Yes, I did.

FTN95/x64 Ver. 8.30.0 Copyright (c) Silverfrost Ltd 1993-2018
  Topic: RGB@
Norm.Campbell

Replies: 20
Views: 11321

PostForum: 64-bit   Posted: Fri Dec 18, 2020 12:45 pm   Subject:
My apologies, Paul, my email was not clear.

The code

nclr = 10

nSymblColor = RGB@ ( nclr, nclr, nclr )

gives a black axis under both v32 and x64, which is what it should do.

A bit ...
 
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