Re: [Flashcoders] File access

2009-05-07 Thread Glen Pike

Hi,

   Don't think you could do this in Flash without loading the whole 
image file, even if it did have a thumbnail - not sure if this is a 
feature of the JPEG / PNG spec or not?
  
   If you are loading images from the server, you could run a script 
that generates thumbnails on the fly, (hopefully caching them for 
further browser requests).  There are loads of free scripts - phpThumb 
is one I have seen that may do the caching too.


   HTH

   Glen

Karl DeSaulniers wrote:
Is there a way to display the thumbnail of a file? Like a .PSD 
(Photoshop file).

They sometimes come with an embedded thumbnail.
I wanted to know if you can access this and use it to display.
I am working in AS2. Would it take a code to do that, or no way to do 
that in flash?

Any thoughts would help.
Thanks,


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File access

2009-05-07 Thread Karl DeSaulniers

Thanks Glen,
I will look that up.
I kind of figured I would need some kind of script help in the  
process, but was just wondering if Flash had the capabilities.
Like when your in the open file dialog window. The thumbnail you  
see. Retrieving that somehow in flash.

No SystemCapabilities function for something like that?

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On May 7, 2009, at 3:26 AM, Glen Pike wrote:


Hi,

   Don't think you could do this in Flash without loading the whole  
image file, even if it did have a thumbnail - not sure if this is a  
feature of the JPEG / PNG spec or not?
 If you are loading images from the server, you could run a  
script that generates thumbnails on the fly, (hopefully caching  
them for further browser requests).  There are loads of free  
scripts - phpThumb is one I have seen that may do the caching too.


   HTH

   Glen

Karl DeSaulniers wrote:
Is there a way to display the thumbnail of a file? Like a .PSD  
(Photoshop file).

They sometimes come with an embedded thumbnail.
I wanted to know if you can access this and use it to display.
I am working in AS2. Would it take a code to do that, or no way to  
do that in flash?

Any thoughts would help.
Thanks,


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File access

2009-05-07 Thread Glen Pike

Hi,

   The open-file dialog is an OS thing - the thumbs come from the OS 
rather than the image.  PSD's are an exception - the thumbnail appears 
in the Adobe style dialogue for these...


   I am guessing AS3 + AIR may allow a bit more flexibility with 
opening and accessing file data in the way you would like, but as you 
are using AS2, you are probably restricted to uploading a file, making a 
thumbnail then displaying it...  Be aware that if you are thinking of 
doing something like this, image uploading, even with phpThumb, is often 
exploited by hackers - read the doc's / fix list if you are thinking of 
using ready made scripts and weigh up pros/cons.


   Glen

Karl DeSaulniers wrote:

Thanks Glen,
I will look that up.
I kind of figured I would need some kind of script help in the 
process, but was just wondering if Flash had the capabilities.
Like when your in the open file dialog window. The thumbnail you 
see. Retrieving that somehow in flash.

No SystemCapabilities function for something like that?

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On May 7, 2009, at 3:26 AM, Glen Pike wrote:


Hi,

   Don't think you could do this in Flash without loading the whole 
image file, even if it did have a thumbnail - not sure if this is a 
feature of the JPEG / PNG spec or not?
 If you are loading images from the server, you could run a 
script that generates thumbnails on the fly, (hopefully caching 
them for further browser requests).  There are loads of free scripts 
- phpThumb is one I have seen that may do the caching too.


   HTH

   Glen

Karl DeSaulniers wrote:
Is there a way to display the thumbnail of a file? Like a .PSD 
(Photoshop file).

They sometimes come with an embedded thumbnail.
I wanted to know if you can access this and use it to display.
I am working in AS2. Would it take a code to do that, or no way to 
do that in flash?

Any thoughts would help.
Thanks,


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File access

2009-05-07 Thread Sidney de Koning

Hi Karl,

I think Adobe has their own project of getting meta data out of file,  
especially for their 'own' file formats, i'm guessing PSD aswell

I have not looked in to this but maybe it can help you;  its called XMP.

http://labs.adobe.com/technologies/xmplibrary/

http://www.adobe.com/devnet/xmp/
http://www.adobe.com/products/xmp/


Hope this helps you,

Sid

On May 7, 2009, at 11:01 AM, Glen Pike wrote:


Hi,

  The open-file dialog is an OS thing - the thumbs come from the OS  
rather than the image.  PSD's are an exception - the thumbnail  
appears in the Adobe style dialogue for these...


  I am guessing AS3 + AIR may allow a bit more flexibility with  
opening and accessing file data in the way you would like, but as  
you are using AS2, you are probably restricted to uploading a file,  
making a thumbnail then displaying it...  Be aware that if you are  
thinking of doing something like this, image uploading, even with  
phpThumb, is often exploited by hackers - read the doc's / fix list  
if you are thinking of using ready made scripts and weigh up pros/ 
cons.


  Glen

Karl DeSaulniers wrote:

Thanks Glen,
I will look that up.
I kind of figured I would need some kind of script help in the  
process, but was just wondering if Flash had the capabilities.
Like when your in the open file dialog window. The thumbnail you  
see. Retrieving that somehow in flash.

No SystemCapabilities function for something like that?

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On May 7, 2009, at 3:26 AM, Glen Pike wrote:


Hi,

  Don't think you could do this in Flash without loading the whole  
image file, even if it did have a thumbnail - not sure if this is  
a feature of the JPEG / PNG spec or not?
If you are loading images from the server, you could run a  
script that generates thumbnails on the fly, (hopefully caching  
them for further browser requests).  There are loads of free  
scripts - phpThumb is one I have seen that may do the caching too.


  HTH

  Glen

Karl DeSaulniers wrote:
Is there a way to display the thumbnail of a file? Like a .PSD  
(Photoshop file).

They sometimes come with an embedded thumbnail.
I wanted to know if you can access this and use it to display.
I am working in AS2. Would it take a code to do that, or no way  
to do that in flash?

Any thoughts would help.
Thanks,


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Sidney de Koning - be a geek, in rockstar style!
Flash / AIR Developer @ www.funky-monkey.nl
Technical Writer @ www.insideria.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders