ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 CALS Raster Graphic
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

fisad

Sweden
13 Posts

Posted - Jan 05 2018 :  12:10:35  Show Profile  Reply
The CAL raster image format is included in the list of readable formats by the library.

How is it possible to visualize this format? (Delphi of cource)

Thanks!

w2m

USA
1990 Posts

Posted - Jan 05 2018 :  12:25:32  Show Profile  Reply
Have you tried opening one?
Do you have an example file... I can not find one.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

fisad

Sweden
13 Posts

Posted - Jan 05 2018 :  12:27:56  Show Profile  Reply
I have already tried to open them but the result is an empty white sheet.

You need to change de extension to .cal



attach/fisad/201815124133_302260SA217.zip
137.41 KB
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 05 2018 :  12:40:25  Show Profile  Reply
Please put the file in a zip file so it can be saved. I can not get at it here.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

fisad

Sweden
13 Posts

Posted - Jan 05 2018 :  12:42:02  Show Profile  Reply
Now is fixed!!
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 05 2018 :  12:45:33  Show Profile  Reply
I cannot open the file with any application. Can you?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

fisad

Sweden
13 Posts

Posted - Jan 05 2018 :  13:09:56  Show Profile  Reply
I have tried an example but nothing is shown.
I do not understand, if the format is in the list of possible formats to read, why it is not possible to visualize it?.
I have seen the source code of ImageMagick from the GitHub site, a c file is included with the source code to view raster cals files. But I would like to be able to read it from Delphi without the need to install additional files on the user's machine.

The portability, without facilities, that eposible with Delphi keeps me in this language for many years.

Thank you.
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 05 2018 :  13:13:01  Show Profile  Reply
if you can not open the file to view it in any application, it is possible the file is corrupt. Do you know of an application that can open this file and if so, is the image blank or just white?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

fisad

Sweden
13 Posts

Posted - Jan 05 2018 :  13:19:43  Show Profile  Reply
Yes I use ViewCompanion Pro (Trial) for view the CAL raster image. This use a LEADTOOLS filter for visualization.



Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 05 2018 :  13:26:15  Show Profile  Reply
The ImageEn help file does not say that cal files are supported, but you indicated that it was. Where did you see this?

The only thing I can find is CALS (*.cals) NOT CAL. if CAL is a vectorial file format then it may not be supported as it is not specifically listed.

if the file is a cals file a plugin is required to be viewed, but I do not know which plugin is required. My guess is that you probably cannot write cals files however.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

fisad

Sweden
13 Posts

Posted - Jan 05 2018 :  13:31:10  Show Profile  Reply
Info web page from your site, this one, The two extensions are of the same format!! Or what do you mean with CALS image??
Maybe I'm wrong in the concept that you want to expose with CALS



Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 05 2018 :  13:34:50  Show Profile  Reply
Not my site. I am a developer and do not work for ImageEn. CALS files require a plug-in to open. If I try to open it here without a plugin an ImageEnView.IO.Aborting error occurs, which means the file can not be opened.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

fisad

Sweden
13 Posts

Posted - Jan 05 2018 :  13:39:28  Show Profile  Reply
OK, if so, it's not a problem, looking forward is the right thing to do, if I need to use ImageMagick, know you how?
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 05 2018 :  13:41:29  Show Profile  Reply
Sorry. I do not like or regularly use ImageMagic.
But there is a demo in ... ImageEn\Demos\InputOutput\ImageMagick

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

fisad

Sweden
13 Posts

Posted - Jan 05 2018 :  13:50:00  Show Profile  Reply
If I have seen the example but it is necessary to install the library to be able to use it. I think I'll take the long way since I have the information to understand the contents of the CAL file and I have access to the routine of the library to be able to read the graphic content.

I will keep in the elaboration of tools that do not require installation for its use.

Thanks for your time.
Go to Top of Page

xequte

39053 Posts

Posted - Jan 07 2018 :  17:53:35  Show Profile  Reply
Hi

ImageEn does not have native support for .cals files, but if you have ImageMagick installed then ImageEn can use it to render a cals file.

So you need to install the 32bit version of ImageMagick, and then run the ImageMagick demo.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

fisad

Sweden
13 Posts

Posted - Jan 08 2018 :  01:13:54  Show Profile  Reply
Thanks for the time dedicated.

I have discovered that ImageMagick has a version that does not require installation and can be used to make the transformation of the CALS files into a more known and manageable format on the fly.

Thank you all for the comments.
Go to Top of Page

xequte

39053 Posts

Posted - Jan 08 2018 :  17:58:49  Show Profile  Reply
Hi

Can you give me the link to that version.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

fisad

Sweden
13 Posts

Posted - Jan 09 2018 :  11:58:48  Show Profile  Reply
You can see it for yourself on the download page of the ImageMagick website. You can also see the source code of the filter for cals raster image format in the site located on GitHUb.com.
For you, an expert in image processing would not be difficult to create native support for the format. 2048 bits of data and the rest for the image information. http://netghost.narod.ru/gff/graphics/summary/cals.htm.

Cherrsss!!!
Go to Top of Page

xequte

39053 Posts

Posted - Jan 09 2018 :  16:34:54  Show Profile  Reply
Hi

I'd be interested to see if other users are keen on the format too.

I note this warning:

"If you are unfamiliar with U.S. government specification documents, you will probably find working with this format a complicated and challenging task."




Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: