How to resize a selection of vectors by numerically resizing a segment ?
I have a problem with illustrator that i've never been able to resolve (in on cs3 by the way - don't tell me it's something that's only on cs5!)
goes as follows....
i create accurate forms in a 3d modelling package , i export it in either an ai, eps, dxf, dwg file (they all come out the same - tiny in illustrator ) , when i open them in illustrator, then are never to the same scale (even when i try and timker with the import scale settings, they always seem to be off).
my work around is that I usually include a box that's say 100cm square with the forms inside, when i open in illustrator i then draw a new 100cm square by keying into the draw rectangle tool/dialog box, i then line the top left hand corner of this square to the top left corner of the box from the 3d model (which should be 100cm square but always isn't) which i select (including the forms inside), then drag the bottom right corner (with the shift key down to keep x & y scaled correctly) to the bottom right corner of the 100cm square box i drew with the illustrator rectangle tool - this sort of works to scale everything i imported to what seems the correct size, but i feels like i'm winging it a bit! the problem is that i get things lasercut from these illustrator files and i'd like to be more sure that sizes are accurate
so my question is, say i have a hexagon shape which i've imported in from 3d cad program and is the wrong size, is there a way of selecting one side and key in the length i want it to be & it scale the whole hexagon accordingly?
thanks in advance to anyone who can help with this !
To scale in reference to your known-size key object:
Use the Line Tool as a measure device. Refer to the Document Info palette for length of the line (or any other selected path):
Now, isn't all of this completely silly for something supposed to be a "modern" vector-based drawing program? Consider:
When aligning objects, Illustrator's interface provides for your designating one object as the reference ("anchor" or "key") object. (For many years, AI beginners continually asked about how to get this to work, because it was "hidden"; the Interface provided no indication whatsoever of which selected object was the reference.)
Would it not be a refreshing measure of consistency in this program's interface (which doesn't seem to know the meaning of the word) to provide a similar reference-object interface for other transformations?
After decades of requests to be able to simply have this program make accessible the length of a path (what a concept!), Adobe finally responded--by burying it in a stupid grab-bag catch-all palette duct-taped to the interface: the so-called Document Info palette.
Yeah. That's intuitive. Lessee...where would I find the length of this selected path? The Appearance palette? The Attributes palette? The schizophrenic Control Panel? No. The Document Info palette, and even there, only after making two further buried selections from its catch-all flyout menu. Your reward for all that tedium? You can't even select the length value to copy it and use it in a calculation.
JET
Similar Messages
-
How to resize a photo from CameraUI?
Hi there,
i really need som help here. I cant seem understand how to resize an still image taken with the camera. Here are the code so far(also with the upload part). I just need a thumbnail to be uploaded to the server, not the HQ-image. Any ideas?
Simple AIR for iOS Package for selecting a cameraroll photo or taking a photo and processing it.
Copyright 2012 FIZIX Digital Agency
http://www.fizixstudios.com
For more information see the tutorial at:
http://www.fizixstudios.com/labs/do/view/id/air-ios-camera-and-uploading-photos
Notes:
This is a barebones script and is as generic as possible. The upload process is very basic,
the tutorial linked above gives information on how to post the image along with data to
your PHP script.
The PHP script will collect as $_FILES['Filedata'];
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.events.TouchEvent;
import flash.ui.Multitouch;
import flash.ui.MultitouchInputMode;
import flash.media.Camera;
import flash.media.CameraUI;
import flash.media.CameraRoll;
import flash.media.MediaPromise;
import flash.media.MediaType;
import flash.events.MediaEvent;
import flash.events.Event;
import flash.events.ErrorEvent;
import flash.utils.IDataInput;
import flash.events.IEventDispatcher;
import flash.events.IOErrorEvent;
import flash.utils.ByteArray;
import flash.filesystem.File;
import flash.filesystem.FileMode;
import flash.filesystem.FileStream;
import flash.errors.EOFError;
import flash.net.URLRequest;
import flash.net.URLVariables;
import flash.net.URLRequestMethod;
// Define properties
var cameraRoll:CameraRoll = new CameraRoll(); // For Camera Roll
var cameraUI:CameraUI = new CameraUI(); // For Taking a Photo
var dataSource:IDataInput; // Data Source
var tempDir; // Our temporary directory
CameraTest() ;
function CameraTest()
Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
// Start the home screen
startHomeScreen();
// =================================================================================
// startHomeScreen
// =================================================================================
function startHomeScreen()
trace("Main Screen Initialized");
// Add main screen event listeners
if(Multitouch.supportsGestureEvents)
mainScreen.startCamera.addEventListener(TouchEvent.TOUCH_TAP, initCamera);
mainScreen.startCameraRoll.addEventListener(TouchEvent.TOUCH_TAP, initCameraRoll);
else
mainScreen.startCamera.addEventListener(MouseEvent.CLICK, initCamera);
mainScreen.startCameraRoll.addEventListener(MouseEvent.CLICK, initCameraRoll);
// =================================================================================
// initCamera
// =================================================================================
function initCamera(evt:Event):void
trace("Starting Camera");
if( CameraUI.isSupported )
cameraUI.addEventListener(MediaEvent.COMPLETE, imageSelected);
cameraUI.addEventListener(Event.CANCEL, browseCancelled);
cameraUI.addEventListener(ErrorEvent.ERROR, mediaError);
cameraUI.launch(MediaType.IMAGE);
else
mainScreen.feedbackText.text = "This device does not support Camera functions.";
// =================================================================================
// initCameraRoll
// =================================================================================
function initCameraRoll(evt:Event):void
trace("Opening Camera Roll");
if(CameraRoll.supportsBrowseForImage)
mainScreen.feedbackText.text = "Opening Camera Roll.";
// Add event listeners for camera roll events
cameraRoll.addEventListener(MediaEvent.SELECT, imageSelected);
cameraRoll.addEventListener(Event.CANCEL, browseCancelled);
cameraRoll.addEventListener(ErrorEvent.ERROR, mediaError);
// Open up the camera roll
cameraRoll.browseForImage();
else
mainScreen.feedbackText.text = "This device does not support CameraRoll functions.";
// =================================================================================
// imageSelected
// =================================================================================
function imageSelected(evt:MediaEvent):void
mainScreen.feedbackText.text = "Image Selected";
// Create a new imagePromise
var imagePromise:MediaPromise = evt.data;
// Open our data source
dataSource = imagePromise.open();
if(imagePromise.isAsync )
mainScreen.feedbackText.text += "Asynchronous Mode Media Promise.";
var eventSource:IEventDispatcher = dataSource as IEventDispatcher;
eventSource.addEventListener( Event.COMPLETE, onMediaLoaded );
else
mainScreen.feedbackText.text += "Synchronous Mode Media Promise.";
readMediaData();
// =================================================================================
// browseCancelled
// =================================================================================
function browseCancelled(event:Event):void
mainScreen.feedbackText.text = "Browse CameraRoll Cancelled";
// =================================================================================
// mediaError
// =================================================================================
function mediaError(event:Event):void
mainScreen.feedbackText.text = "There was an error";
// =================================================================================
// onMediaLoaded
// =================================================================================
function onMediaLoaded( event:Event ):void
mainScreen.feedbackText.text += "Image Loaded.";
readMediaData();
// =================================================================================
// readMediaData
// =================================================================================
function readMediaData():void
mainScreen.feedbackText.text += "Reading Image Data.";
var imageBytes:ByteArray = new ByteArray();
dataSource.readBytes( imageBytes );
tempDir = File.createTempDirectory();
// Set the userURL
var serverURL:String = "http://www.hidden_in_this_example.com/upload.php";
// Get the date and create an image name
var now:Date = new Date();
var filename:String = "IMG" + now.fullYear + now.month + now.day + now.hours + now.minutes + now.seconds;
// Create the temp file
var temp:File = tempDir.resolvePath(filename);
// Create a new FileStream
var stream:FileStream = new FileStream();
stream.open(temp, FileMode.WRITE);
stream.writeBytes(imageBytes);
stream.close();
// Add event listeners for progress
temp.addEventListener(Event.COMPLETE, uploadComplete);
temp.addEventListener(IOErrorEvent.IO_ERROR, ioError);
// Try to upload the file
try
mainScreen.feedbackText.text += "Uploading File";
//temp.upload(new URLRequest(serverURL), "Filedata");
// We need to use URLVariables
var params:URLVariables = new URLVariables();
// Set the parameters that we will be posting alongside the image
params.userid = "1234567";
// Create a new URLRequest
var request:URLRequest = new URLRequest(serverURL);
// Set the request method to POST (as opposed to GET)
request.method = URLRequestMethod.POST;
// Put our parameters into request.data
request.data = params;
// Perform the upload
temp.upload(request, "Filedata");
catch( e:Error )
trace(e);
mainScreen.feedbackText.text += "Error Uploading File: " + e;
removeTempDir();
// =================================================================================
// removeTempDir
// =================================================================================
function removeTempDir():void
tempDir.deleteDirectory(true);
tempDir = null;
// ==================================================================================
// uploadComplete()
// ==================================================================================
function uploadComplete(event:Event):void
mainScreen.feedbackText.text += "Upload Complete";
// ==================================================================================
// ioError()
// ==================================================================================
function ioError(event:Event):void
mainScreen.feedbackText.text += "Unable to process photo";1. Create a BitmapData of the correct size of the full image
2. Use BitmapData.setPixels to create pixel data from your byteArray
3. Make a new Bitmap, Bitmap.bitmapData = BitmapData
4. Create a matrix with the correct scaling factors for your thumbnail
5. Create a new BitmapData the size of your thumb
6. Use BitmapData.draw to draw your image data from the Bitmap to the new BitmapData with the scaling matrix
7. Use BitmapData.getPixels to create a bytearray from your thumb BitmapData
8. save it
You'll have to look up the AS3 reference to see how all these methods work. -
How to resize multiple images?
I am newbie to RH and would like to know if there is a method /shortcut by which I can resize multiple images?
Specifically to my project: I have close to 50 tables containing various images and their descriptions. When I insert these images into RH, the original image size is inserted and these images are of various sizes.
I know how to resize multiple images in Word but not in RH and hence, reaching to higher powers
I am using RH 9
Appreciate all your help!Hi There, Well the best option is to resize each image individually but if you feel that you can select all images together and the resize them all at once I am sure that you would like to give a read to this post from forums which talks about this job
http://forums.adobe.com/thread/466933 -
How to resize photos in iPhoto?
Hi
I can seem to figure out how to resize my photos so I can send them via email or just make them smaller in general. Any suggestions?What is your email client? If you use Mail, Eudora, Entourage or AOL then just select the photo you want to email and click on the Mail button. You'll be presented with a menu to choose the size of the file to attach to the email.
If you are using a web based email you'll have to export the files to the Desktop via the File->Export->File Export menu option where you'll be able to set the file size and quality level of the files.
See TD's treatis on file access on ways to access the photos for use outside of iPhoto.
Do you Twango? -
How to resize image on my mac?
How to resize image on my mac?
What version of Mac OS X do you have? In Preview under 10.9 Mavericks (I believe 10.8 too), this is what I see:
The padlock is next to the unit (pixels, etc) selection box.
Matt -
?? How to resize in Photo Shop Express
I've been on hold for two 30 minutes sessions to find out how to get out of Photo Shop Express.
All I want to do is resize a picture. It comes up, but I can't figure out how to resize. So, I really want to
get out of Photo Shop Express and go to another product unless someone can help. me.
thanksHi Ann
Sorry for the difficulties. In case it's not too late, here are some steps for accessing our online Editor's image resize tool:
1. If you are already a member of Photoshop.com, sign in your account. You can access you account at either www.photoshop.com or http://www.photoshop.com/tools/organizer
2. If you are a member, and have not already uploaded your photo to you online account, please do so. Look for the 'Upload' button at the top right of the Photoshop Express Online Organizer (http://www.photoshop.com/tools/organizer). Select your image, and click the Edit button at the bottom of the Window.
If you are not a member, you can still access our online Editor at this URL: http://www.photoshop.com/tools?wf=editor Just go to this page and upload your photo to begin editing it.
3. Once you have your image open in the Online Editor, find the 'Resize' button on the left next to our other editing tools. Then choose the resize settings you like and click 'Save' when you're done. -
How to resize a layer or picture
I am brand new to anything PhotoShop. I have created a talk balloon that I plan on putting it on a photo. I have the text on it already. However, the area outside of the balloon must be tranparent. I made it transparent pixel by pixel. There must be an easier way. So my two questions are:
1. How to make an area of a picture or layer transparent?
2. How to resize a layer or .jpg picture or any picture that can be edited by PS Elements 12
Tried to include the talk balloon file but it failed because of the content. What is wrong with " Hmmmmmm"
"I think this one fits". It is a psd file.
Bill1. How to make an area of a picture or layer transparent?
Select the area where you want it to be transparent and use the Eraser of various types from the tool bar. there are essentially three types: Eraser Tool, Magic Eraser and Background Eraser. The selection tool has also many types.
How to resize a layer or .jpg picture or any picture that can be edited by PS Elements 12
To resize any picture you simply go to:
Image >> Resize
Select what ever you want to resize the canvas or the Image. If you are in PSD file then canvas resize might be appropriate but my answer is pretty general to give you the necessary options. there is also the "Scale" of the image so you are spoilt for choices here.
You just need to be careful not to0 degrade the image so much by resizing because pixels per inch changes and lower the amount per inch degrades the image; This is what happens when you increase the size while reverse is the case if you resize it downwards. -
How do I "un-invert" new Vector Masks?
This is driving me crazy.
If I select a Path or Work Path from the Paths Panel,
then select a Layer from the Layers Panel,
then Command-click the Make New Mask button (at the bottom of the Layers Panel),
I get a new Vector Mask applied to my Layer....
But it's inverted. The shape of the Vector Mask is hiding that portion of the layer. In other words it's like my mask is a cookie cutter and just made a hole in my layer.
How do I create a new Vector Mask and hide everything else on that layer except the area of the mask?Flexesss wrote:
Why not use the first option?
Isn't that obvious? You've had the wrong button pushed by accident, you've spent time drawing a complete complex path, and now you really would like that path to be the OUTSIDE of a shape, and by gosh you really don't want to switch the options then draw it again.
John has listed the proper restorative answer. Select the path, then change the option button.
Keep in mind all this is changing in Photoshop CS6 with the advent of shape layers, which are kinda sorta the same under the covers. But different.
-Noel -
Itunes match how do you to select multiple songs or do you click each one
In ITunes match how do you to select multiple songs to download to pc or do you have to click each one.
First make sure you have the current version of iTunes, which is actually 10.5.1. I had to manually download it from apples website, for some reason, it wouldnt auto-update.
http://www.apple.com/itunes/download/
Once that is complete, go to the iTunes store. In the Quick Links secion to the right, you should see iTunes Match. This will prompt you to activate your subscription to iTunes match. After that it should ask you to add your computer and once youve done that, it should begin the process of scanning your library and adding it to the cloud
Alternatively, once you activate your subscription, you can also go to the Store dropdown menu in iTunes and select Turn On iTunes Match. -
How can I display selected tags across multiple e-mail addresses?
I receive email on a specific topic but via several e-mail addresses. How can I view selected tags where the resulting e-mails span several (7) email addresses. They are all active on my Thunderbird, but as far as I know, I can only display the selected tag on one of them at a time.
Any assistance greatly appreciated as this is a very big problem for me.
thanks, Ron75This solution does not appear to work across multiple e-mail addresses.
Perhaps I should have said "work across multiple e-mail address at the same time. I get e-mail on specific topics via several email addresses and wish to view all the tagged emails regardless of which email account in which they reside.
I could not get this solution to select more than one email account at a time. -
In BI how to filter the selection options based on inputs on top field
Hi Friends,
In BI, How to filter the selection options based on inputs on top field.
The system should automatically filter the lower level drop downs based on the selection of a higher level.
For e.g. :
If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
Thanks in Advance.
Regards
Jayaram MHi Anil,
Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
Regards
Jayaram M -
How to use multi select in a query report
I defined a lov. This lov retuns name and a id. I want to use the result of this multi select in my query.
I always get invalid number when I choose two items of the select. When I debug I see that the return value of the multi select is 1:2. How can I change the seperator : in , I tried the following but this does't work.
if :P26_PRODUCTTYPE IS NOT NULL then
l_sql := l_sql ||' and producttype in
(REPLACE(:p26_producttype,'':'','','' ))';
end if;as you're finding, multiple values selected from html db multi-select list items (and checkboxes) are stored as a single, colon-delimited string. i explained an easy way to handle this via pl/sql in...
Multiple select list
...that post shows you how to throw the selected values into a pl/sql table and step through them as needed. it also showed how to use an instr to parse through the string if you want to go that route. you could use that same instr logic right in your sql query. so let's say your lov for your multi-select item (P1_MY_MULTISELECT, we'll call it) was defined as...
select ename, empno from emp order by 1
...and your user selected KING, FORD, and JONES. :P1_MY_MULTISELECT would store those values as...
7839:7902:7566
...you could then write a query to return the selected enames with something like...
select ename, job
from emp
where insrt (':'||:P1_MY_MULTISELECT||':',':'||empno||':') != 0
...hope this helps,
raj -
How to get the selected values from the shuttle
Hi
Please tell me how to get the selected option values from the shuttle leading list.
Thanksyou can also obtain the option values present in the leading and trailing lists using the
following methods:
public String[] getLeadingListOptionValues(OAPageContext pageContext, OAWebBean
webBean)
public String[] getTrailingListOptionValues(OAPageContext pageContext, OAWebBean
webBean)For example, the following code sample returns an array of values in the trailing list, ordered according to the
order in which they appear in the list:
String[] trailingItems =
shuttle.getTrailingListOptionValues(pageContext, shuttle);Thanks
--Anil -
How to get multiple selected fields in list
Hello all,
I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
Thankx..i want to put the selected fields of list in an array through AS3....
actually......i figured it out how to do that...........
Its simple......use
list.selectedItems[index]
and to get the number of items selected......
list.selectedItems.length
simple..... -
How to Retrieve the Selected Values from selectOrderShuttle using ADF 11g
Hi Every One,
Does anyone has idea how to retrieve the selected Items using shuttle and Order of the items using 'SelectOrderShuttle' component ?
Thanksshuttle's valuechangeevent would fire when you shuttle items back and forth.
public void selectOrderShuttle1_valueChangeListener(ValueChangeEvent valueChangeEvent) {
ArrayList list = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue()));
if (list != null){
for (int i=0; i<list.size(); i++) {
int l = list.size()-1;
val = list.get(l).toString(); //returns , delimited string
if (val != null){
val = val.replaceAll("[\\[\\]]", "");
StringTokenizer st = new StringTokenizer (val, ",");
int nto = st.countTokens ();
for (int j = 0; j < nto; j++)
String token = st.nextToken ();
..........
Maybe you are looking for
-
Weird behavior in opening Aperture images in Photoshop
I have found a lot of really weird behavior when opening Aperture images in an external editor (in my case, Photoshop, so I'll use PS to refer to it): 1) If the master image is opened in PS, a new version is created when the file is opened, not saved
-
Kextcache error while updating /Volumes/Seagate CCC
Hi, my external seagate drive (2Tb partitioned into 2 * 1Tb's I've been using for Carbon Copy Cloner has a problem with kextcache, I will not pretend to know what kextcache is but the errors I am getting relate to an invalid signature, it tries 26 ti
-
Unable to connect using SQL Developer.
Hi, I am having a hard time connecting to the database instance using "Cloud Connections," in SQL Developer. I am using the information found in here: http://docs.oracle.com/cloud/CSDBU/develop.htm#BABDBHJA to connect to my cloud-service, but all I g
-
SAPLICENSE expired and database connectivity failed.
hello, I am working in a system on solaris10 and Oracle 10.2.0.2 on CRM4.0, whose license is expired. due to which I am not able to logon to the system and showing that SAPLICENSE (Release 640) ERROR *** ERROR: Connect to database failed DE
-
I cannot share photos via my hotmail account but works with Gmail
Can anyone help? I have been using my hotmail account to send/share photos on iPhoto. Recently I cannot share photos via my hotmail account but works with Gmail? What do I need to do to get the hotmail account working again?