Re: The php_gtk.exe/php_win.exe
| From: | Frank M. Kromann | Date: | Mon, 20 Dec 2004 22:24:55 +0000 |
| Subject: | Re: The php_gtk.exe/php_win.exe | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-837@lists.php.net to get a copy of this message | ||
Hi Florian,
That would require embedding the binary image into the ascii PHP file.
That would not be possible. The .psd files are binary files, managed by
Photoshop and not by a text editor.
You can change the desktop icon (manually) for any file by rightclicking
on it, selecting properties and clicking on change icon. I guess you could
write a program (or a PHP script) to do this automated, but I have no plans
to add this to PHP or PHP-GTK.
- Frank
> >> By the way: I've seen that Photoshop is dynamically
> >> rendering Icons for its *.psd files which will be shown
> >>in
> >> the explorer. I think it would be nice to implement
> >> something like this to the PHP-Gkt2 windows version. At
> >> moment I don't know how it works exactly, but I think
> >>this
> >> can be discovered.
> >> What do you think about this?
> >
> > That's already the case. If you associate your script
> >files (.php) with
> > php.exe or php-win.exe in PHP5 you will get a small PHP
> >logo. If you use
> > php_win.exe you will get a php-gtk logo.
> >
> Hi! I dont mean that. Photoshop provides different logos
> for each *.psd file which is based on some meta
> informations of the file itself.
> So for example if you got a file 'foo.psd' with a
> 500x500dot matrix in white, the icon of the file 'foo.psd'
> is shown as a white matrix only. If you got a file
> 'bar.psd' with a 700x300dot matrix and to crossing layers
> in it, it will show a protract cross as icon.
> You know what I whant to tell? The *.psd file itself
> defines the Icon it gots, so each *.psd file got their on
> icon such like the exe files have got.
>
> _________________
> Mit freundlichen Grüßen,
> Florian Breit
> PHPWS Projektleitung - Webmaster
> Mail: florian@phpws.org
> Web: http://www.phpws.org
> Was verdammt ist ein Mail Trailor?
>