Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

change exported image size

Posted on 2004-08-02
1
Medium Priority
?
185 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
Alex Curylo earned 800 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

636 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