Page 1 of 1

Invalid parameter (PicShow)

PostPosted: September 17th, 2003, 8:14 pm
by eballinas
Exception...
Date : 09/17/2003 15:12:11
Address: 400B779B
Module : vcl60.bpl
Type : EOutOfResources
Message: El parĂ¡metro no es correcto. .

help me please
Delphi 6
Windows Xp
Picshow 3.06

copy

PostPosted: September 17th, 2003, 8:18 pm
by eballinas
By the way, I found the problem is when picshow is trying to copy the image.
I am using JPEG.
I tried BMP and I got the same error.
Please help me, because I had to delete the component from the project and I think the efects are beautiful

PostPosted: September 17th, 2003, 8:56 pm
by Kambiz
How big is your image's dimension? Could you please post a sample image here?

Sample Image

PostPosted: September 18th, 2003, 12:42 am
by eballinas
I send a sample

PostPosted: September 18th, 2003, 2:47 pm
by Johnny_Bit
1. Image is too big (in dimensions and also in bytes)
2. Wv Tuxia? some commercial?

too big

PostPosted: September 18th, 2003, 3:20 pm
by eballinas
what is too big.
what is too small.
What is the accepted dimensions (does anybody know)?

PostPosted: September 18th, 2003, 6:44 pm
by Kambiz
Yes, the image is too big. With such a size of image even if PicShow doesn't raise an exception, the transition is too slow.

I suggest to do not use images bigger than about 640x480, or scale them to a smaller dimension before using in PicShow.

PostPosted: September 19th, 2003, 7:12 pm
by eballinas
Could you be more especific.
I have resized my jpeg to 442X200.
I have the same error.
Help me.

PostPosted: September 19th, 2003, 8:11 pm
by Kambiz
Actually I didn't encounter to any problem in using PicShow with your images, even the big one.

Are you sure the problem is not because of some other part of your code?

PostPosted: September 19th, 2003, 9:37 pm
by eballinas
If I delete your component, I do not have a problem

PostPosted: September 19th, 2003, 9:39 pm
by eballinas
when I change to a 70X180 pixeles, there was not a problem