Page 1 of 1

can't load TIF images

PostPosted: 19 Nov 2017 13:55
by EitanArbel
Hi,.

i'm trying to load TIF\TIFF images, and i always get a broken image link instead of the picture i need.
i tried to load a TIFF in both runtime and in design and they both show a broken image.
other formats i tried works fine.

am i missing something, or do i need to prepare something before trying to load TIF images?

Thanks!

Re: can't load TIF images

PostPosted: 20 Nov 2017 11:23
by Alexander Bulei
Hi EitanArbel,

The TIFF format is not supported by all browser, only IE(!) and safari...no support for firefox and chrome.
I suggest you, to use the cross-browser format for images, like JPG or PNG.

Best Regards.

Re: can't load TIF images

PostPosted: 20 Nov 2017 15:33
by EitanArbel
i really do prefer jpg and png, but the problem is with customers who need TIF because of documents they scanned...
so... no plans to support TIF in the future?

Re: can't load TIF images

PostPosted: 20 Nov 2017 16:34
by Jorge Sousa
Hi

This is a limitation of firefox and chrome browsers themselves, there is nothing we can do.

Re: can't load TIF images

PostPosted: 20 Nov 2017 21:21
by EitanArbel
but the TIWImage *can* show TIFF files in Firefox and Chrome..

i's just that your CGJQImage is better and have some powerful properties i need.
maybe use the same code iw used in their IWImage? (i don't have CG sources, and i'm sure AToZed will approve if we ask :D )

Re: can't load TIF images

PostPosted: 21 Nov 2017 11:17
by Jorge Sousa
Hi

It's not that I'm saying that we don't believe you, but we need a proof, can you please submit a simple test case?

tia

Re: can't load TIF images

PostPosted: 22 Nov 2017 13:45
by EitanArbel
i really don't understand it now.
it IS running and working in my app, but not in the test case i'm trying to make for you...

basically, all i do is to change IWImage1.OutputType:=ioGIF if the file's extension is TIF or TIFF (and of course for GIFs too).

i ended up using the IWImage for TIF and GIF, and CGJQImage for all other supported graphic formats.

very strange...

Re: can't load TIF images

PostPosted: 22 Nov 2017 17:11
by Jorge Sousa
TIWCGJQImage also supports gifs and tiffs, through TIWCGJQImage.Picture.Picture and TIWCGJQImage.Picture.Url properties

tiff images are unsupported by chrome and firefox