Go Back   TX Text Control Community > TX Text Control Discussion and Support Forums > TX Text Control ActiveX

TX Text Control ActiveX Please use this forum for TX Text Control ActiveX support only. If you need support for a different product, please use the appropriate forum.

Reply
 
Thread Tools Display Modes
  #1  
Old December 20, 2009
Ryszard Ryszard is offline
Registered User
 
Join Date: Dec 2009
Posts: 1
Change to image filters

By mistake, a JPG was renamed a PNG.

In 14 the filter loaded anyway, but it doesn't any more in 15.1.

The error message actually doesn't relate to the image, but the control gives ambiguous error:

"The object- or image attribute could not be get or set. The object with the specified id probably does not exist"

Would it be possible to check the image header as that must have happened in the past.

Thanks,

Ryszard

Last edited by Ryszard; December 20, 2009 at 22:07:14.
Reply With Quote
  #2  
Old December 20, 2009
Reallyethical's Avatar
Reallyethical Reallyethical is offline
TX Text Control MVP
 
Join Date: Sep 2008
Location: Derby, England
Posts: 230
Send a message via Skype™ to Reallyethical
Re: Change to image filters

This has been reproduced in TX Words 15.1 ActiveX as well.

The error raised is "The object- or image attribute could not be get or set. The object with the specified id probably does not exist" and clearly this would fail to load the image into the document.

TX14 imports the image without fault, in both TX Words 14 and through the IDE.

Adam
Reply With Quote
  #3  
Old December 21, 2009
Gunnar Giffey's Avatar
Gunnar Giffey Gunnar Giffey is offline
TX Support Engineer
TX Text Control
 
Join Date: Sep 2004
Location: Bremen, Germany
Posts: 3,999
Re: Change to image filters

Hello,
Could you please provide me a way to reproduce that?
Do you have the image file available?
Also, how to you insert the image into the document?
A step-by-step procedure would be great.
__________________
Regards,
Gunnar Giffey, TX Text Control
[Forum Administrator]
Reply With Quote
  #4  
Old December 21, 2009
Reallyethical's Avatar
Reallyethical Reallyethical is offline
TX Text Control MVP
 
Join Date: Sep 2008
Location: Derby, England
Posts: 230
Send a message via Skype™ to Reallyethical
Re: Change to image filters

The attached file is really a JPG not a PNG if you insert into TX with any method it will fail on TX15.1 and work in TX14.

This is not really a bug, I have spoken to Bjoern and he informs me that it was more of an accident than design that this worked in 14.

For now the programmer must check the file header manually to ascertain the file type if they can not rely on the file extension.

This is an unusual situation and should not affect many developers, however I understand the disappointment in this case.

The main thing to keep in mind, is that improvements to the way TX handles images since TX14 more than make up for the rectification of this accidental feature even if it is desirable.

Regards

Adam

(I have added to a zip file as if you try and upload the file as a PNG the system errors with "This JPG file has the wrong file extension" )
Attached Files
File Type: zip test.zip (118.3 KB, 7 views)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Directly saving image from webpage SpeeDEV TX Text Control ActiveX 10 April 1, 2008 17:01:38
how to retrieve an image? blau TX Text Control .NET 5 June 18, 2007 10:48:05
Possible to use .NET Image type with TX Text Control Image type? MatthewTheRaven TX Text Control .NET 1 March 9, 2007 07:23:41
How to change image size? Grifi TX Text Control ActiveX 1 August 16, 2005 14:47:29


All times are GMT +1. The time now is 06:19:30.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 1991 - 2010 The Imaging Source Europe GmbH