DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Invalid parameter (PicShow)

 
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
eballinas
Member


Joined: 17 Sep 2003
Posts: 7
Location: México

PostPosted: 17/09/03 20:14    Post subject: Invalid parameter (PicShow) Reply with quote

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
Back to top
View user's profile
eballinas
Member


Joined: 17 Sep 2003
Posts: 7
Location: México

PostPosted: 17/09/03 20:18    Post subject: copy Reply with quote

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
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 206

PostPosted: 17/09/03 20:56    Post subject: Reply with quote

How big is your image's dimension? Could you please post a sample image here?
Back to top
View user's profile Send e-mail Visit poster's website
eballinas
Member


Joined: 17 Sep 2003
Posts: 7
Location: México

PostPosted: 18/09/03 00:42    Post subject: Sample Image Reply with quote

I send a sample


Datsa azul sin transparencia.jpeg
 Description:
 Filesize:  65.13 KB
 Viewed:  357 Time(s)

Datsa azul sin transparencia.jpeg


Back to top
View user's profile
Johnny_Bit
Junior Member


Joined: 15 Jun 2003
Posts: 82

PostPosted: 18/09/03 14:47    Post subject: Reply with quote

1. Image is too big (in dimensions and also in bytes)
2. Wv Tuxia? some commercial?
Back to top
View user's profile
eballinas
Member


Joined: 17 Sep 2003
Posts: 7
Location: México

PostPosted: 18/09/03 15:20    Post subject: too big Reply with quote

what is too big.
what is too small.
What is the accepted dimensions (does anybody know)?
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 206

PostPosted: 18/09/03 18:44    Post subject: Reply with quote

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.
Back to top
View user's profile Send e-mail Visit poster's website
eballinas
Member


Joined: 17 Sep 2003
Posts: 7
Location: México

PostPosted: 19/09/03 19:12    Post subject: Reply with quote

Could you be more especific.
I have resized my jpeg to 442X200.
I have the same error.
Help me.



Datsa azul sin transparencia 200.jpeg
 Description:
 Filesize:  21.25 KB
 Viewed:  341 Time(s)

Datsa azul sin transparencia 200.jpeg


Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 206

PostPosted: 19/09/03 20:11    Post subject: Reply with quote

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?
Back to top
View user's profile Send e-mail Visit poster's website
eballinas
Member


Joined: 17 Sep 2003
Posts: 7
Location: México

PostPosted: 19/09/03 21:37    Post subject: Reply with quote

If I delete your component, I do not have a problem
Back to top
View user's profile
eballinas
Member


Joined: 17 Sep 2003
Posts: 7
Location: México

PostPosted: 19/09/03 21:39    Post subject: Reply with quote

when I change to a 70X180 pixeles, there was not a problem
Back to top
View user's profile
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group