Re: The php_gtk.exe/php_win.exe
| From: | florian at phpws dot org | Date: | Mon, 20 Dec 2004 23:26:26 +0000 |
| Subject: | Re: The php_gtk.exe/php_win.exe | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-839@lists.php.net to get a copy of this message | ||
Hi!
Generally, yes! But I think it should be possible to embedd such a managing function like phtoshop has it got into the php-gtk.exe(or what ever). But then it is required to implement a algorythm to generate the binary icon source by given datas which are readable by humans, in this case I think it would be practiable to use XPM_d arrays for this.
So, if the php-gtk.exe would extract the XPM_d from the php file and use this to generate source for the icon it could work as well. That what I've thought on when writing this down..
And yes, I know that this will bring some problems and isn't the easyiest feature to implement, but it's just a train of thoughts for now..
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_________________ Mit freundlichen Grüßen, Florian Breit PHPWS Projektleitung - Webmaster Mail: florian@phpws.org Web: http://www.phpws.org Was verdammt ist ein Mail Trailor?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 smallshownBy the way: I've seen that Photoshop is dynamically rendering Icons for its *.psd files which will beAtin the explorer. I think it would be nice to implement something like this to the PHP-Gkt2 windows version.moment I don't know how it works exactly, but I think this can be discovered. What do you think about this?PHPlogo. 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?-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php