CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

can't load TIF images

by EitanArbel » 19 Nov 2017 13:55

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!
EitanArbel
 
Posts: 115
Joined: 16 Jul 2013 22:27

by Alexander Bulei » 20 Nov 2017 11:23

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by EitanArbel » 20 Nov 2017 15:33

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?
EitanArbel
 
Posts: 115
Joined: 16 Jul 2013 22:27

by Jorge Sousa » 20 Nov 2017 16:34

Hi

This is a limitation of firefox and chrome browsers themselves, there is nothing we can do.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by EitanArbel » 20 Nov 2017 21:21

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 )
EitanArbel
 
Posts: 115
Joined: 16 Jul 2013 22:27

by Jorge Sousa » 21 Nov 2017 11:17

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
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by EitanArbel » 22 Nov 2017 13:45

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...
EitanArbel
 
Posts: 115
Joined: 16 Jul 2013 22:27

by Jorge Sousa » 22 Nov 2017 17:11

TIWCGJQImage also supports gifs and tiffs, through TIWCGJQImage.Picture.Picture and TIWCGJQImage.Picture.Url properties

tiff images are unsupported by chrome and firefox
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQImage

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.