🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #100

Re: CS4:Export JPEG Settings

#100
From: Mor
Date: Thu, 26 Feb 2009 17:17
14 lines
1294 bytes
Hi Ian,
The doc says:
"Settings for JPEG export are stored with the IJPEGExportPreferences interface on kWorkspa-
ceBoss. For details, see the API reference documentation.
End users can modify the preferences through the JPEG Export Options dialog box. You also
can change the preferences programmatically, with the kJPEGExportSetPrefsCommandBoss..."

First of all) there is no such interface: IJPEGExportPreferences
Second of all) As you recommended I'm trying your suggestion(see code in below),but get error. Can you please correct the place that I'm wrong?

InterfacePtr<IJPEGImageWriteOptions> jpeg_settings((IJPEGImageWriteOptions *)::CreateObject(kJPEGImageWriteFormatBoss, IID_IJPEGIMAGEWRITEOPTIONS));

TIA,
Mor
Technical Details
Message-ID: <59b80d86.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b80d86.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f63e9,d458210d7a4ae9a3
X-Google-Attributes: gidf63e9,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Mor@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.indesign.sdk
Subject: Re: CS4:Export JPEG Settings
Message-ID: <59b80d86.1@webcrossing.la2eafNXanI>
Date: Thu, 26 Feb 2009 09:17:37 -0800
References: <59b80d86.-1@webcrossing.la2eafNXanI>
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit