[REBOL] Re: resizing JPG images
From: jasonic:nomadics at: 22-Oct-2001 13:33
> > What to do?
> > Are there problems/plans for REBOL/View to support JPEG?
> For saving ? No, not at this time.
> > Recent loss of DSL service here [Rhythms bankruptcy] has made me
> > aware again of download sizes, and of REBOL's highly aeronautic design!
> Yes, which is why we did not add a JPEG saver. It would significantly
> increase the size of the binary. Saving an image as JPEG is rather
> complicated. It involves color space conversion, DCT, quantizing etc.
> It might be a good feature for Command though. For Command and
> Command/View the size of the binary is not as important as for View,
> because it is not distributed as widely. Same reason why Command has
> SSL and other binaries don't.
Thanks for your prompt answer.
I am curious how many Kb JEPG saver would add?
And how others feel about this or some options for it?
Adding built-in JPEG /save to REBOL/Command makes a lot of sense:
- As server side commercial version, features are surely more way important
than disk space / download time.
- Server side raelly needs strong JPEG control
- Extra incentive for Rebol customers to buy /Command, stronger eparaton of
RT products etc
Of course it is not _that_ big a deal on web servers to use soem otehr
toolkits to do teh JPEG stuff. But not having the feature does lessen the
pragmatic scope of REBOL as a distributed technology. Easy image
upload/transfer/sharing/conversion is central to so many applications. Just
as adding Rebol dialects and functions to handle vector graphics technology:
SVG and SWF.
One example of scripted vector toolkit is Ming [PHP/Python/Ruby]
Trying to do deistributed graphics with REBOl is so tantaliznig. The design
philisophy and communcaitions infrasture is there, but the file doformat and
highlevel graphics object handling is sorely missing. Weither REBOl has to
roll its own, or make it really smooth for people to include other graphic
libraries and formats.
This would be be positive change I think and help speed REBOL's growth.
> There are some ways to reduce the size of saved PNGs even from within
> REBOL. You could, e.g., quantize the image to less than 24 bits per
> pixel before saving.
Thanks. I 'll do some tests on these.