Solved

change exported image size

Posted on 2004-08-02
1
172 Views
Last Modified: 2013-12-26
Hi Guys,

I want to save exported images (using Graphic exporter of Quick Time) for a size of 256x256 and a maximum data size of 20Kbits.

I tried GraphicsExportSetResolution and GraphicsExportSetTargetsize but it seems not working.

Any help please.

-BT
0
Comment
Question by:bachra04
1 Comment
 
LVL 4

Accepted Solution

by:
Alex Curylo earned 200 total points
ID: 11757743
You can't change the size in pixels using a graphic exporter. GraphicsExportSetResolution sets the dpi setting for those formats that support it, not the number of pixels. What you want to do for that is probably to draw your source image in whatever format it is into a GWorld of the target size, then call GraphicsExportSetInputGWorld with that.

As for target size, that's only available when exporting to JPEG, and there's a limit on how many times it will try recompressing before giving up. So don't consider that reliable.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now