Don't see why not.
It's odd that Matlab lets you save tiffs with compression (tiff) or without compression (tiffn) but not jpegs. Although even then, the 'with compression' is some default level you have no control over.
-----Original Message-----
From: Shawn Fessenden [mailto:shawn@testech-ltd.com]
Sent: 25 November 2004 01:51 pm
To: VRF
Subject: [vrf] Re: jpg compression
Sounds like it's time to start looking for external libraries. Can you save the image as a raw bitmap & then compress it with something else?
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
It's odd that Matlab lets you save tiffs with compression (tiff) or without compression (tiffn) but not jpegs. Although even then, the 'with compression' is some default level you have no control over.
-----Original Message-----
From: Shawn Fessenden [mailto:shawn@testech-ltd.com]
Sent: 25 November 2004 01:51 pm
To: VRF
Subject: [vrf] Re: jpg compression
Sounds like it's time to start looking for external libraries. Can you save the image as a raw bitmap & then compress it with something else?
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
As far as I can tell, the command you want is
saveas(h,'filename','jpgnn')
where h is the figure number and nn is the jpeg quality factor. I haven't
tried this, though.
--
Bill Ossmann
Philips Ultrasound
e-mail: bill.ossmann@philips.com
------------------------------------------------
I am using Vee 6 and the Matlab included within it. I am saving some
Matlab figures as jpgs within Matlab using the 'saveas' function. Does
anyone know how to invoke the jpg compression control in the Matlab saveas
function so that I can minimise the resulting jpg size?
Ivan Edwards
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".