Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: resizing JPG images

From: holger:rebol at: 22-Oct-2001 9:26

On Mon, Oct 22, 2001 at 09:59:06AM -0400, Jason Cunliffe wrote:
> 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 painfully > 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. 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. -- Holger Kruse [holger--rebol--com]