no, it was different... it would screw up the image...
for the catch, I suggest you do
set failed [catch {set animated [IsAnimated ...] } ]
if {$failed} { set animated 1 }
if { $animated == 0 } { resize... }

KKRT

On Sun, 29 Jan 2006 16:38:27 -0500, Vivia Nikolaidou <[EMAIL PROTECTED]> wrote:


Yes, the file WAS corrupted. We can end up with a corrupted file for many
reasons, not necessarily user errors. Does this mean that this line should
bring a tk bug? No, my guess is, show the buddy instead... So we need it
with a "catch", but I just couldn't get the syntax to work :P

Even better: show the first frame of the anigif resized. I think it's what it did before you added that line (Can't test now though)./ So, if this is
what happened indeed, why did you change it?

On Sun, 29 Jan 2006, Youness Alaoui wrote:

make sure the file is not corrupted by itself.. if it's not, try to find
where that "Not a BMP" message came from...

KKRT

On Sun, 29 Jan 2006 15:43:53 -0500, Vivia Nikolaidou <[EMAIL PROTECTED]>
wrote:

>
> Picture.tcl: Unable to read file
> /home/vivia/.amsn/aiviv_hotmail_com/displaypic/cache/9633f60796c454e663467605956544577326038357339343f6b437d3.png
> Not a BMP
>    while executing
> "error "Picture.tcl: Unable to read file $file \n$res""
> (procedure "::picture::IsAnimated" line 15)
> invoked from within
> "::picture::IsAnimated "[file join $::HOME displaypic cache
> ${displaypicfilename}].png""
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel



--
KaKaRoTo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel




---

"Where is the life that we have lost in living?
 Where is the wisdom that we have lost in knowledge?
 Where is the knowledge that we have lost in information?"

OEO;



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel



--
KaKaRoTo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to