Page 1 of 1

Fit Width produces RTE with some images

Posted: 10 May 2012 14:12
by Borut
Fit width produces a RTE with some JPG images:

Code: Select all

Error:  	480 (000001E0)
Desc:   	Can't create AutoRedraw image
Dll:    	0
Proc:   	SBS
Source: 	XYplorer
XY ver: 	11.00.0013
OS:     	Windows XP Professional (Service Pack 3), 32-bit
I am not able to recognise what is so special with images leading to this. Don, I'll try to send one to you per PM.

Edit:Hmmm, no attachments possible in PMs? Hmmm.

Re: Fit Width produces RTE with some images

Posted: 10 May 2012 14:53
by admin
You are the one using the preview in a maximized window, right? ;)

Re: Fit Width produces RTE with some images

Posted: 10 May 2012 14:57
by Borut
admin wrote:You are the one using the preview in a maximized window, right? ;)
Yup, I am the one. :)

Re: Fit Width produces RTE with some images

Posted: 10 May 2012 15:03
by admin
Well, this error happens when a too large image is drawn. What is "too large" depends on the system state, the hard ware, the wheather... everything.

Re: Fit Width produces RTE with some images

Posted: 10 May 2012 15:33
by Borut
admin wrote:What is "too large" depends on the system state, the hard ware, the wheather... everything.
Oh, yes, it must be the today's warm weather :mrgreen:, since other things are:

JPG...
Size:457548
Width: 1536
Height: 2048

Nothing special here. Plenty of memory...

Re: Fit Width produces RTE with some images

Posted: 10 May 2012 16:28
by Borut
Another hint: I have noticed that only for these problematic images your Info Panel Preview states for type:

Type: JPEG file (JFIF v1.1)

For other images, which do not have this width fitting problem (and here are included some portrait images with 6 times more bytes in them), it says only:

Type: JPEG file

Maybe this can help.

Re: Fit Width produces RTE with some images

Posted: 10 May 2012 16:33
by admin
Can you send me a link to download one of them?

Re: Fit Width produces RTE with some images

Posted: 10 May 2012 18:14
by Borut
Sent.

Re: Fit Width produces RTE with some images

Posted: 10 May 2012 21:03
by admin
Borut wrote:Sent.
Got it, thanks, but it does not generate any error.

I'll have an idea to fix it anyway... tomorrow...

Re: Fit Width produces RTE with some images

Posted: 10 May 2012 22:11
by Borut
admin wrote:but it does not generate any error.
Hmm, Don, I just checked: it does not produce error by me at home either. :? :shock: I am now flabbergasted.

I am sure this is the image (just renamed) that produced the error in my office. Differences: 2 monitors there, just one here. Different monitor sizes/ratios. I made all the tests with maximised floating preview.

No idea. I give up. :cry: Tomorrow is another day.

Re: Fit Width produces RTE with some images

Posted: 11 May 2012 08:48
by admin
I was not joking when I said:
What is "too large" depends on the system state, the hard ware, the wheather... everything.

Re: Fit Width produces RTE with some images

Posted: 11 May 2012 15:06
by Borut

Code: Select all

v11.00.0015 - 2012-05-11 14:42
    % Floating Preview: Rewrote "Fit Width" handling. Now it uses far 
      less resources and is faster too.
No more RTEs - it was possible to fit width of all images that I now tried in the floating preview.

Thank you!! :appl: