[AS] Find images and scale
Hello!
I have a document with thousands of pictures of most of them same size.
However, some of them are too big so I need findthem and reduce them.
How to find images that are too big, 50 mm width > and scale only images of 70%?
All images have fixed width frame while the image in the framework should evolve.
Thank you
Jukka
Something like this should do it:
Tell application "Adobe InDesign CS3"
the value of transforming the reference point of the window layout 1 anchor Center
Tell document 1
all graphs the value pictures
Repeat with i from 1 to the number of pictures
i the geometric boundaries of the element value {x 1, y1, y2, x 2} of pictures
If x 2 - x 1 > 50 then
set the Properties of the point i of pictures to {horizontal scale: 70, vertical scale: 70}
end if
end repeat
tell the end
tell the end
Tags: InDesign
Similar Questions
-
find image and then delete...
Hello world
I want to search for specific images in the document with his name and I want to remove the images of the document. How you can do with a script. Your help will be very appreciated.
Concerning
Indana
var del_list = ["foo.psd", "var.jpg", "hoge.tif"]; var my_doc = app.activeDocument; var my_image = my_doc.allGraphics; for (var i = (my_image.length - 1); i >= 0; i--) { var tmp_name = my_image[i].itemLink.name; for (var ii = 0; ii < del_list.length; ii++) { if (del_list[ii] === tmp_name) { my_image[i].parent.locked = false; my_image[i].remove(); } } }
--seuzo -
I have a seuillee image and I need to find the actual surface of the black region
I have a seuillee image and I need to find the true field of the black region.iam new view.please guide me.i lab joined the image...
-
Why Auto-scale intensity images and how can I disable this?
Dear Sirs
I display an image from a FireWire camera (collected with "IMAQdx to Image.vi") in an indicator of picture (Vision-> Image display) on the front panel. When the distribution of intensity changes, the overall intensity seems to auto scale. But if change the intensity in a part of the image, and I put a cursor in another part of the image, the Image information box told me that the pixel value does not change even if the visible intensity of the indicator changes.
I also made a comparison with the 'good old' graph of the intensity. So, I have to use 'IMAQdx get Image Data.vi' and place the data table before presenting the image in the graph of the intensity. If I disable AutoScale Z, a part of the image does not affect the rest, but if I turn it on, the image behaves like the display of the Image above. Obviously, there is a kind of automatic scaling in the display of images.
Can someone tell me if and how I can disable this auto-scaling feature?
Best regards
/ Leif Nyholm
All pallets are applied to 8-bit grayscale images, the 16-bit image is converted to 8 bits before applying the palette. You're right that it would be nice to be able to apply a rainbow palette to the original 16-bit image, but it is not available. No doubt, you can write your own routine that would use a custom lookup table to convert the 16-bit image to an image of rainbow-colored, but probably would not bother. The final image would most likely look exactly like the current image.
Bruce
-
Original title: Image Composite Editor
Why isn't my images being created panaroma style? I downloaded ms direct Photothèque and then my pictures, then clicked on create composites, it is downloaded. then clicked on new panaroma and he gave me a message, it might not steal images and find another place and cover them.
Hi NormaValdez,Here is an article that could be useful for:
If this does not help, post your query in Windows Live Photo Gallery Forums for assistance on this issue. -
I have an epson printer p950 and try to print from lightroom. I get lines across the image and Epson tell me I need to contact you to find out how to slow printing
Suggest you to reset preferences in Lightroom and then, check out: to zero (or "Screw up") the preferences of Lightroom - Lightroom Forums file
-
In photoshop CS5 (bridge) I could select all the images and their size still before turning them into JPEG files. I can't find a way to do it in CC
Hi Tanuj.
I actually understand it. Not the best user friendly system. Where as before (CS5), I just had to go to crop tool and choose the dimensions and the inches now it in the window. Just really complicated for nothing.
Thanks anyway Tanuj
Melanie
-
Hi I did a tutorial on the splicing of images and I'm confused. He told me go to the windows tab and turn off the application framework. I can't find the application framework on the windows tab? I need to change a setting, or something
Hi, Yona,.
The application is available for Mac machine and not a windows machine.
Concerning
Rohit
-
How to change your settings to allow you to be able to place images and things outside of the artboard when you work? I have it on a single file and I opened another and the setting seems to have changed, but I can't find where to change it.
I think that things are there, but just hidden.
Try this:
Make sure that your cursor is not in a text box, and then type a W.
-
Help to get an image to scale and move?
I have a fixed image in the timeline panel and I select to load in the Source window.
-On the first image, I select the Position and scale shows icons.
-I then click to add a keyframe to the Position and scale.
-I drag the playhead to the last image
-J' I add a keyframe to the Position and the scale on the last image
-J' I scale the image down on the last image
-J' I change position by entering a new coordinate
However, when I drag through the fastener with the playhead nothing happens. What I am doing wrong?
Thank you.
Keyframes in the timeline of the sequence are for any parameter, you want it to be for. It could be scale, position or rotation, or it could be for the opacity. But in the pabnel effect options, you can see them all at once.
The stopwatch is required to indicate the program that keyframes are required. Otherwise, without timer, whatever you set is what it's going to be for the duration of the clip. Try it yourself without the timer. You'll see what I mean.
You can define your lap times then go all the way and set the parameters, then go back for beginners and set new parameters. That will work very well and in some cases, it is entirely appropriate.
Or, you can set the timers, and either make a change, now matter how small or large a change, or you can click the diamonds to create a keyframe for each parameter you want to change. Once you have keyframes at the beginning, move the CTI at the end and make your changes. As with the first key frames, the time you change a parameter, a keyframe is created.
I just realized that it would be better to direct you to a full tutorial on the subject. Take a look at this and see if it does not answer all your questions. http://library.creativecow.net/articles/devis_andrew/Premiere-Pro-CS6-Basics_43/video-tuto rial - it takes until about halfway through to get where you want to see, but watch the whole thing anyway.
I recommend that you take all 78 of his tutorials CS6 really. It might be a very good use of your time to get all of the free training before you invest too much time editing without knowing the easiest ways of doing things.
-
For loop in place, images to scale and move
I have an image which I enclose, is the white part of the image (I recorded it on a black background so it is easy to see, but it's on a transparent background, saved as a gif file and imported to flash). When my for loop runs, I'm trying to put this image on stage by programming, but it seems that it is not doing things. It will scale the image and positioned some in all directions
I wanted the images (8) appears in 2 columns each staggered regularly, but he fails to do so. The clip holds the image below. Since it is an irregular shape, it also seems to make the edges really rough.
(1) why is the loop generating these images in all directions like this?
(2) it would be more ideal to draw this shape with flash, rather than by using a gif image? Such a form is even possible to draw?
This is the code:
Fl.transitions import. *;
Fl.transitions.easing import. *;
import flash.events.TimerEvent;var imageLoader:Loader;
var xmlData:XML;
var bucketItem:MovieClip; They hold the attached picture
var bucketHor:MovieClip;placeBuckets();
public function set {loadedXML(xml:XML):void}
xmlData = xml;
}function placeBuckets (): void {}
var all: Number = 50;
After var: number = 115;
var bucketCount:XMLList = xmlData.product;
for (var u: uint = 0; u < bucketCount.length (); u ++) {}
bucketItem = new bucket();
bucketHor = new bucketr();
If (bucketCount.country.text ([u]) == 'USA') {}
1st = bucketItem.y;
bucketItem.x = 100;
var bucketTween:Tween = new Tween (bucketItem, "x", Regular.easeOut, bucketItem.x, 0, 0.5, true);
} else {}
bucketHor.y = after;
bucketHor.x = 300;
bucketItem.scaleX = - 1;
var buckettwoTween:Tween = new Tween (bucketItem, "x", Regular.easeOut, bucketItem.x, 0, 0.5, true);
}
var bucketImgTrans = new TransitionManager (bucketItem);
bucketImgTrans.startTransition ({type: Zoom, direction: Transition.IN, duration: 3, easing:Strong.easeOut});})
var bucketImgTransH = new TransitionManager (bucketHor);
bucketImgTransH.startTransition ({type: Zoom, direction: Transition.IN, duration: 3, easing:Strong.easeOut});})
trace (bucketItem.y);trace (bucketHor.y);
addChildAt (bucketItem, 0);
addChildAt (bucketHor, 0);
After = (after + 200) - 115;
1st (1st + 130) = - 50;
}
}It's the Stmt trace for two position there of bucket
0
115
0
200
0
285
0
370
370
0
450
0
530
0
610
0Regarding graphic design, here is the code (not exactly like yours but you can make adjustments - discover the documentation Flash Graphics class):
var sp:Sprite = new Sprite(); var gr:Graphics = sp.graphics; gr.beginFill(0xff0000); gr.moveTo(0, 0); gr.lineTo(213, 5); gr.lineTo(213, 65); gr.lineTo(6, 75); gr.lineTo(0, 0); gr.endFill(); addChild(sp);
In regards to the positioning, what are these classes/symbols backet and baketr?
-
When I click on 'search tools', options are no longer displayed (for example, the tool that allows a search of limited date or search for videos of different lengths). I happened to have a search page open before the update and drop-down menus to search tools always appear on this page, but if I click on it, the menu drops down, so I can't change the options. When I do an image search, the results page shows only 20 or if the images and the rest of the results appear only as gray rectangles with/without any image. Search tools work normally in other browsers, I installed it, but Firefox is my default browser (and I'm happy with that), so I want to fix the problem. I don't know if it is associated with the updates, I did yesterday, but it's the only thing I can think of that's changed. Before that, the search tools have been working properly.
Hello
Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
Note: This will be you temporarily disconnect all sites, you're connected to.
To clear the cache and cookies to do the following:- Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
- Under "Time range to clear", select "all".
- Now, click the arrow next to details to toggle the active details list.
- In the list of details, see the Cache and Cookies and uncheck everything.
- Now click the clear now button.
More information can be found in article to clear your cache, history, and other personal information in Firefox .
This solve your problems? Please report to us!
Thank you.
-
I have a model I am able to plug different images at different times. The problem is when I plug an image in this template, I think that the image is either too big or too small. Is it possible to connect the image in the template and resize the image (and not the template itself) OR I have to go into the file with the original image and resize them it there and then try to plug it into the model to see if it fits - and if it does not fit, return to the original with the image file and resize it again and see if this fits - and so on and so on...? "" I tried the "image size" option, but it's all or nothing - especially miss!
Thank you!
First, make sure that the original image is larger that you need. It is easier to delete pixels that so add nonexistent pixels.
Place the image in the template.
In the menu filters, choose Convert to smart object. (Make sure that the image layer is selected before doing this step)
Now reduce the size of the image of what you need (ctrl-t or cmd - t) when satisfied click return/enter.
Because the image layer is a smart object, you can replace the inner image in another image and the scale will remain the same. You will find the option to replace the image in the layers > smart menu object.
If you need assistance more let us know.
-
to stop the automatic boring-playback of videos on different sites (such as cnn.com), I tried the 'request to activate' setting on shockwave or flash and it happens again, so I was directed to the firefox site that had the IMAGE AND FLASHBLOCKER to install and now nothing plays! I tried on youtube, for example, and I can hear the sound, but there is no video. I can't find what I installed to uninstall! have no idea what to do now.
maureens said
. . . . a the IMAGE of FLASHBLOCKER AND install...
Please confirm. Shows details of the system;
Extensions
Flashblock 1.5.18.1 - signed
Maybe you are looking for
-
Why is my 'Save password' grayed out? I want TO save the passwords!
Why is my 'Save password' grayed out? I want TO save the passwords!
-
igfxext module stopped working how to fix this
When I try to go on line of the above message shows after that it will cast its process to get online igfxext module stopped working how what can do to fix this thanks a lot rich
-
How to place my Documents shortcut on the taskbar in Windows 7.
I create a shortcut on the desktop to My Documents and if I double click on the shortcut on the desktop it works fine and displays the My Documents folder. I drag the icon My Documents of the Bureau on the taskbar and if I click on the icon in the ta
-
Where is the shortcut for webcam on my laptop?
I can't find the shortcut, click on for my web cam on my laptop, do not know where to find them so can not take pictures how to find If I can put it on the desk top, to cut short? * E-mail address is removed from the privacy *
-
Problems after 2015.5.1 out
Need help to solve the problems that gave me the version of Photoshop 2015.5.1.1 adobe Camera Raw: when editing an image on Camera Raw to screen each edit command, click or drag a mosaic effect (do not know what to call it - never seen that before) o