Discussion:
[Mozilla API] Are there API to resize image ?
(too old to reply)
Stéphane KLEIN
2004-09-29 10:36:54 UTC
Permalink
Hello,

I would like do this application :

- open image file from local host
- resize this image
- upload to remote in FTP, SOAP or XML-RPC

Are there API to resize the image ?

Thanks

Stéphane KLEIN
Christian Biesinger
2004-09-29 16:49:47 UTC
Permalink
Post by Stéphane KLEIN
Are there API to resize the image ?
No, there aren't. there are only APIs to draw an image on screen in a
different size.

Additionally, there are no APIs to store an in-memory image as a file.

--
Stéphane KLEIN
2004-09-29 19:11:02 UTC
Permalink
Post by Christian Biesinger
Post by Stéphane KLEIN
Are there API to resize the image ?
No, there aren't. there are only APIs to draw an image on screen in a
different size.
Additionally, there are no APIs to store an in-memory image as a file.
Thanks
Stéphane KLEIN
2004-09-29 22:36:19 UTC
Permalink
Post by Christian Biesinger
Post by Stéphane KLEIN
Are there API to resize the image ?
No, there aren't. there are only APIs to draw an image on screen in a
different size.
Additionally, there are no APIs to store an in-memory image as a file.
Are there a plan to add this functionnality in the framework ?

Stéphane KLEIN
Christian Biesinger
2004-09-29 23:42:50 UTC
Permalink
Post by Stéphane KLEIN
Post by Christian Biesinger
No, there aren't. there are only APIs to draw an image on screen in a
different size.
Additionally, there are no APIs to store an in-memory image as a file.
Are there a plan to add this functionnality in the framework ?
https://bugzilla.mozilla.org/show_bug.cgi?id=245684 is about the latter.
I do not know if adding the "resizing an imgIContainer" functionality is
planned.

--

Continue reading on narkive:
Loading...