Re: only pixmaps available?
| From: | Steph | Date: | Wed, 15 May 2002 18:22:34 +0000 |
| Subject: | Re: only pixmaps available? | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1988@lists.php.net to get a copy of this message | ||
> I am using ImageMagick for all my image conversions so I can create XPM from
> jpg/png/tuff & vise-versa quite easily via .... exec(convert this.jpg
> this.xpm); etc, its just thats its so slow especially when I have to convert
> a directory full of jpgs to xpm's before I can even display them in my
> application.
>
> My last question was related in that for this project It would be useful to
> be able to capture images from either an external device - i.e. digital
> camera/video , or the windows clipboard, so a user could right-click and
> 'copy' an image in explorer or photoshop or whatever, and then on button
> click in GTK I could save the clipboard data to file an them convert to xpm
> from whatever format came in , strangely enough the camera aspect is easier
> as there are command-line utilities for many cam/video makes for dumping an
> image to file.
>
> I assume I could capture the windows clipboard via the w32api functions but
> I have yet to get further than a abort/retry/cancel dialog :) -
I've absolutely no idea, let me know how you get on :) w32api's new, James wrote it
initially and I don't know how developed it's become since.
> I have looked everywhere for command line utilities for dumping the windows
> clipboard to file but can only get utilities that grab text data not binary.
> A couple of dudes on the ImageMagick mailing list seem to think that it
> would be a trivial addition to the ImageMagick source to achieve this
> functionality but thats beyond me for now.
>
> hey - GtkHtml - is that not *NIX only ?? - that would be perfect for
> directory displays and I would only have to convert the selected image ....
> ??
GtkHtml is 'nix only at present, yep. It'd solve a lot of my problems having it on win32
an' all :-\ if anyone's feeling energetic and has MS building materials ... sorry,
can't help with this.
>
> Regards,
> Simon Wheeler.
>
- Steph