Merge Image alignment data
Greetings,
I turn on this forum, as nothing I've tried has worked. In a data merge using only images merged in a workbook to Excel CSV, everything is usually the display as I want. But in one of the frames with a merged image, the images will NOT align to the bottom of the frame. I tried setting the fitting frame * before * putting the field of image fusion in image. I tried selecting the preview image and configuration which. Tried dragging the image. Nothing! When I toggle the preview to update, it jumps right up to the upper-left corner of the frame.
I know that this is not the common practice in InDesign. But any ideas would be appreciated!
Thank you!
Bill
Of course, make sure that all the images are cropped to the same canvas size.
Tags: InDesign
Similar Questions
-
Data merge images shrink down proportionally to fit the image if it does not fit 100%
I do a merger of large data of some labels and want the images to be narrowed proportionately to match the image if it is too large to fit 100%.
What I've read, this is only possible with the data merge feature in InDesign. However, I think that it is possible using a script? In addition, there are three frameworks and I would like it to apply to one of the managers (once again, if this is possible).
If this is feasible, how would I go on this subject? Is anyone able to write a script for me? Or have an existing one that I could use? I have had a look but couldn't find something similar.
Thanks in advance!
Adam
Hello
If you call pageItem by name - it returns 1st occurrence not all of them.
You must browse the pageItems and check names.
Like this:
var mPI = app.activeDocument.allPageItems, cPI, cGB, cW, cH; while ( cPI = mPI.pop() ) { if (cPI.name == "3D") { cPI.fit(FitOptions.PROPORTIONALLY); continue; } if (cPI.name == "PROFILE") { cGB = cPI.graphics[0].geometricBounds; cW = cGB[3] - cGB[1]; cH= cGB[2] - cGB[0]; if (cW > 40 || cH > 43) cPI.fit(FitOptions.PROPORTIONALLY); } }
If the CPI has no graphics ==> don't return error
(you will then need to check if possible)
Jarek
-
Hey get this error message
The backup disk image "/ Volumes/data-1/jackmatz of Air.sparsebundle of MacBook ' could not be found (error (null)).
In the context of what?
-
Hello
I have a 27-inch iMac late 2013, 3.2 Ghz intel Core i5, 8 GB 1600 Mhz DDR3. I get the tracking error when you try to save it on my time capsule.
The backup disk image ' / Volumes/Data/iMac.sparsebundle ' could not be found (error (null))
I have another iMac and Mac Pro that save in the capsule of time without any problem.
Can anyone help?
Thank you
You try Time Capsule stop and unplug for 1 minute. Then reset the SMC on the iMac by Intel iMac LANDAU and SMC will reset and restart the iMac and restart the TC and retest Time Machine.
-
Hi all.
Scripter Hans Haesler has created a script that I'm sure that a lot of people involved in the merger of data would consider a 'must - have' - the ability to individually named indesign files merging data records (create hyperlinks with script, without a large increase in size and treatment of the BP reqs resulting?). It has improved this script by adding the ability to change the name of the files to the results of a particular field in a database (http://www.hilfdirselbst.ch/foren/INDesign_Script_f%FCr_Datenzusammenf%FChrung_P513807.htm l).
I took his script and does four things to him:
- CSV splitter now a tab rather than a comma (to use text files delimited by tabs, rather than the files variables separated by a comma);
- Fixed to be cross-platform CheminDossierCible (wasn't working properly on my mac);
- fixed a catastrophic bug that could use the assignment information from file names text referenced in the open file dialog box, but the merger of another data base that has been already linked in the file, so added myDoc.dataMergeProperties.selectDataSource(csvFile,) to ensure that myDoc uses the same data file that is called by the File.openDialog;
- rather than exporting an InDesign file, this operation exports a PDF preset.
var fileNameColumn = 1;//Insert here the column number in the CSV of the new file name is specified. var csvSeparator = '\t'//Please here the separator of CSV file Enter var destFolderPath = Folder.selectDialog('Destination Folder for PDF files').fsName + '/' ; var csvFile = File.openDialog('select CSV file'); //CSV import var fileNames = new Array(); csvFile.open('r'); while (!csvFile.eof) { fileNames.push(csvFile.readln().split(csvSeparator)[fileNameColumn-1]); } csvFile.close(); var myDoc = app.activeDocument;//prepared document myDoc.dataMergeProperties.selectDataSource(csvFile,); myDoc.dataMergeOptions.removeBlankLines = true; var maxRange = myDoc.dataMergeProperties.dataMergePreferences.recordRange.split('-')[1];//Number of records in the CSV //Loop through the records for(var i = 0; i < maxRange; i++) { with(myDoc.dataMergeProperties.dataMergePreferences) { recordSelection = RecordSelection.ONE_RECORD; recordNumber = i+1; } myDoc.dataMergeProperties.exportFile((destFolderPath + fileNames [i+1] + '.pdf'), "[High Quality Print]", ); }
The best thing - IT WORKS! Well, it does, but something very strange happens. If the database is 99 records or less, the script will be run end until it finishes processing the last record and then this dialog appears:
If the database is 100 records or more, then the script works very well and no warning appears. Despite the files PDF export properly, present a defect is the only thing that keeps me from being happy with the script. It's like having a sports car which turns around when he touches out of ignition, unless its duct more than 100 km and then it not to do so.
For once, I am convinced that the script is written correctly, but I can't work on why this error occurs. Is this a bug in the template script ID, or I missed something? Or is this a bug on my computer only? Is anyone able to attempt to reproduce the fault on their own machine?
Thank you very much
Colin
Never mind colleagues posters, I solved my problem.
From what I can tell, the InDesign is keep in memory the table from the script the first time, it has been run. Not even
fileNames.length = 0;
at the end of the script's force at first.
Way the easiest way is to set a backup statement just before the beginning of the script.
myDoc.save (myFile);
and then, at the end of the script, force the script to close the merge file without saving the changes, but open it back to the top
myDoc.close (SaveOptions.no);
myDoc = app.open (myFile);
I tried
myDoc.revert
but he keeps setting up a dialog box asking "Are you" sure and I don't see anything in
Adobe InDesign CS6 (8,0) object model JS: Table of contents
or
http://www.indesignjs.de/extendscriptAPI/indesign10/
that a property to force a return to actually return without the dialog box.
Regardless, the result is the same – the document close, open and returned to its original state. So far, it seems to work... yay!
-
How to get any location of image color data?
// =======================================================
var idsetd = charIDToTypeID ("setd");
var desc1197 = new ActionDescriptor();
var idnull = charIDToTypeID ("null");
var ref958 = new ActionReference();
var idChnl = charIDToTypeID ('channel');
var idfsel = charIDToTypeID ("FSC");
ref958.putProperty (idChnl, idfsel);
desc1197.putReference (idnull, ref958);
idT var = charIDToTypeID ("T");
var desc1198 = new ActionDescriptor();
var idTop = charIDToTypeID ('Top');
var idPxl = charIDToTypeID ("#Pxl");
desc1198.putUnitDouble (idTop, idPxl, 1096.000000); i details of entry data location
var idLeft = charIDToTypeID ("Left");
var idPxl = charIDToTypeID ("#Pxl");
desc1198.putUnitDouble (idLeft, idPxl, 2188.000000); i details of entry data location
var idBtom = charIDToTypeID ("Btom");
var idPxl = charIDToTypeID ("#Pxl");
desc1198.putUnitDouble (idBtom, idPxl, 1097.000000); i details of entry data location
var idRght = charIDToTypeID ('Rght');
var idPxl = charIDToTypeID ("#Pxl");
desc1198.putUnitDouble (idRght, idPxl, 2189.000000); i details of entry data location
var idRctn = charIDToTypeID ("Rctn");
desc1197.putObject (idT, idRctn, desc1198);
executeAction (idsetd, desc1197, DialogModes.NO);
// =======================================================
var idslct = charIDToTypeID ("TPCV");
var desc1199 = new ActionDescriptor();
var idnull = charIDToTypeID ("null");
var ref959 = new ActionReference();
var ideyedropperTool = stringIDToTypeID ("eyedropperTool");
ref959.putClass (ideyedropperTool);
desc1199.putReference (idnull, ref959);
var iddontRecord = stringIDToTypeID ("dontRecord");
desc1199.putBoolean (iddontRecord, true);
var idforceNotify = stringIDToTypeID ("forceNotify");
desc1199.putBoolean (idforceNotify, true);
executeAction (idslct, desc1199, DialogModes.NO);
// =======================================================
var idsetd = charIDToTypeID ("setd");
var desc1200 = new ActionDescriptor();
var idnull = charIDToTypeID ("null");
var ref960 = new ActionReference();
var idClr = charIDToTypeID ("Clr");
var idFrgC = charIDToTypeID ("FrgC");
ref960.putProperty (idClr, idFrgC);
desc1200.putReference (idnull, ref960);
idT var = charIDToTypeID ("T");
var desc1201 = new ActionDescriptor();
var idCyn = charIDToTypeID ("Cyn");
desc1201.putDouble (idCyn, 55.290000); i want to get data color, c =?
var idMgnt = charIDToTypeID ("Mgnt");
desc1201.putDouble (idMgnt, 54.510000); i want to get data color, m =?
var idYlw = charIDToTypeID ('Ylw');
desc1201.putDouble (idYlw, 69.410000); i want to get data color, y =?
var idBlck = charIDToTypeID ('b');
desc1201.putDouble (idBlck, 43.140000); i want to get data color, k =?
var idCMYC = charIDToTypeID ("CMYC");
desc1200.putObject (idT, idCMYC, desc1201);
var idSrce = charIDToTypeID ("out");
desc1200.putString (idSrce, "" "eyeDropperSample" "");
executeAction (idsetd, desc1200, DialogModes.NO);
I draw the Rectangle (1px x 1px)... I want to get anywhere the image color data, can be done in javascript? Please help me
This will only work if you make a selection:
#target photoshop var doc = activeDocument; doc.colorSamplers.removeAll(); var pt = [doc.selection.bounds[0],doc.selection.bounds[1]]; var sampleColor = doc.colorSamplers.add(pt); alert('Cyan: ' + sampleColor.color.cmyk.cyan +'\n' +'Magenta: ' + sampleColor.color.cmyk.magenta +'\n' +'Yellow: ' + sampleColor.color.cmyk.yellow +'\n' +'Black: ' + sampleColor.color.cmyk.black);
-
Images of data merged not appearing is not in InDesign CC
Can of assistance for an indesign image data fusion exit? I try a catalog available, but could not get the images to import through the fusion of data. I tried to use relative and absolute paths and still no joy. Try to eliminate where the problem occurred, I created a new csv with a single line and stuck the absolute path of a screen shot of my office in the csv file.
The data fields appear as before, but the image still refuses to appear in the preview. When I merge the document image still does not appear in the document, but the link is displayed in the links pane.
Does anyone have an idea where I am going wrong?
Thank you, Robin
NB I use Indesign CC on a Mac OS x 10.9.4
Try changing the column name for the @Image images, not what you have. I don't like using file names with spaces, so if there is another problem, try changing a few names of your files and change the column in the file merger.
If you still have questions, let us know.
Mike
-
How to overlap the 2 images of data acquired in real-time?
Hi all
I'm now a measure of the FRET in the laboratory. 2-channel data are acquired and shown in 2D images separately analysis by using Labview. They are at the same scale and pixel. Now what I want to do is to put them into a single image, but the signals are shown in two different colors. Or in another word, cover them in the same image. How this could be done? BTW, I now work with LabVIEW 6.1 (I know this is a pretty old version, but since the work earlier are to do with that, I have to stay with this version). Thanks in advance.
Dear Franceing,
I have studied your request, but I'm not convinced that you need to stay with the old version of LabVIEW. You can upgrade to the latest version of LabVIEW, but in this case you need to upgrade your nationalities created in version 6.1 Traoré. This could be quite a big job (if you use a lot of 'old' vi), but will give you the latest features and ease of use of LabVIEW 2009 in return.
For your question, you might think using the function "IMAQ And.vi" (if it is available in your version). This function works as a logical AND (or NAND) VI and merges the two images together.
I hope this will help you develop your application!
Best regards
Peter S
-
having the image alignment in slide show problem
THW slide show can be seen here http://www.jimslounge.com/slideshow/bio.swf
The images are added to a background MovieClip they are set to align to the horizontal and vertical center. They used to do, but often, they are a little off and sometimes they are way off. Photos are added tha a Sprite called holder and holder is added to the background MovieClip holderBG the problem is in the displaySlide function. I noticed that the alignment problem seems to go away when I create a new instance of the holder there but when I do that climates steadly use upper memory with each new slide.
import com.greensock;
com.greensock.easing import. *;
import flash.display. *;
import flash.utils. *;
import flash.events. *;
flash.net import. *;var myFont:Font2 = new Font2();
var externalReq:URLRequest = new URLRequest ("bio.txt");
var externalLoad: URLLoader = new URLLoader();
var myFormat:TextFormat = new TextFormat();var bars: Bars = new Bars();
var n: int = 0;
var intCurrentSlide:int;
var req:URLRequest;
var holder: Sprite = new Sprite();
var holderBG:HolderBG = new HolderBG();
var loader: Loader;
var int rand;
var nxtNum:int;
var picNum:String;
var slideCount:int;
var xmlLoader:URLLoader; Slideshow xml loader
var xmlSlideshow:XML; Slideshow xml
var strXMLPath:String = 'bioPics-"Data.xml" ';
var slideName:String;
history of the var: Array = new Array();
var duration: number =. 5;
var prevSlide:String;
var timeline:TimelineMax;
addChild (holderBG);
holderBG.x = stage.stageWidth / 2 - holderBG.width / 2;xmlLoader = new URLLoader();
xmlLoader.addEventListener (Event.COMPLETE, onXMLLoadComplete);
xmlLoader.load (new URLRequest (strXMLPath));
///////////// text setup ////////////////////
myFormat.font = myFont.fontName;
myFormat.size = 14;
myFormat.leading = 2.5;
bioText.setStyle ("textFormat", myFormat);
bioText.setStyle ("IncorporerPolices", true);
bioText.textField.alpha = 1;
externalLoad.load (externalReq);
externalLoad.addEventListener (Event.COMPLETE, textReady);
/////////////text setup////////////////////////
createTimeline();function textReady(event:Event):void {}
bioText.htmlText = event.target.data;
}
function onXMLLoadComplete(e:Event):void {}
xmlLoader.removeEventListener (Event.COMPLETE, onXMLLoadComplete);
xmlSlideshow = new XML (e.target.data); create new code xml with the data received
slideCount = xmlSlideshow... image.length (); get the total number of slides
loadSlide();
}function loadSlide (): void {}
prevSlide historical = [history.length - 1];
RAND = Math.ceil (Math.random () * slideCount - 1);
loader = new Loader();
req = new URLRequest (xmlSlideshow.. @src [rand]);
loader.contentLoaderInfo.addEventListener (Event.COMPLETE, displaySlide);
Loader.Load (req);
slideName = xmlSlideshow... @src [rand] m:System.NET.SocketAddress.ToString ();
}function createTimeline (): void {}
Timeline = new TimelineMax ({repeat: 1, repeatDelay:5, onComplete:loadSlide, suspended, yoyo: true: true});
for (var int count = 1; count < = 10; count ++) {}
var mc:MovieClip = bars ["bar" + count];
Timeline.Append (TweenMax.from (mc, duration, {x: "64", alpha: 0, ease:Cubic.easeOut}), -. 4);
}
}function displaySlide(e:Event_=_null):void {}
loader.contentLoaderInfo.removeEventListener (Event.COMPLETE, displaySlide);
/ / holder = new Holder(); If I lose the alignment problem but gain a menory problem.
If (holder.numChildren > 0) {holder.removeChildAt (0) ;}}
holder.addChild (loader.content);
/ / Center of the photo
Holder.x=holderBG.width/2 - holder.width/2;
Holder.y=holderBG.height/2 - holder.height/2;
make the position of the mask on the peak
bars.x = Holder.x;
bars.y = Holder.y;
bars.cacheAsBitmap = true;
holder.cacheAsBitmap = true;
Holder.Mask = bar;
bars. Width = holder.width;
bars. Height = holder.height;
holderBG.addChild (holder);
holderBG.addChild (bars);
Timeline.Restart ();
}Sorry my bad I mean this
holderBG.removeChild (holder);
-
Hi people.
I'm reading the data of an image of the serial port. It is in binary format. I tried to use the pixmap to draw with beam, but he does not like the format that is read from the serial port. Y at - it a simple way to convert or should it be treated differently?
Thank you
Select this option.
MarkGreally wrote:
I was no longer the complication of the things I think. I studied to be a little simpler. It captures the data, and some of them appear in the area of the image, but its only the first line. I have however using 2 nested for loops would create table 2d, but all I can get is a long line. I tried usinh Insert in the table but would not work.
Here is a version even more simplified. You only have 1 FOR loop (for the number of rows) and just have your VISA Read get the number of bytes in a row. Then, you use just autoindexing for your table 2D.
-
merger acquisition of data to read input data 2 or several at once
Hi all
I'm using or usb-6009 more then 2 incoming signals.
the problem is that I can't read 2 signals at the same time. 1 my daq assistance will be apeared to be error.
so, how can I set the .vi (attached) so that he could read 1 more signal since the acquisition of data?
I also tried to separate daq support but error. I also try to merge the two signals with a different port (a1 and a0)
can anyone help?
Thnx for the reply
Frankly, I went through all the tutorials and looked for answers in the forum and the conclusions I have difficulties to understand the technical language... I have been looking for everywhere labview users and found someone who could guide me carefully... im have desperately need guidance... not to give up hope trying to find the answer, but a sort of feedback that is giving advice that you need to take the driver's seat... FYI... I take the driver's seat... that look like a real Nubian now needs help...
is there any order step by step so that I could add channels more 1 1 daq help?... I've done it before, but it occurs.
for example, I want to create channel 1 to read the value of the resistance and channel 2 for playback of tension... but what happened when I create more than 2 channels, it is be will configure this channel only 1 located in the block diagram... both channal will give only data for the value of the resistance.
Sorry for my broken English.
-
Saving image with data in QVariant
JPEG image is converted to QVariant (with bb::cascades:Image) by using the following code
m_image is bb::cascades:Image
m_image = bb::cascades:Image (imageData);
Converted to QVariant using QVariant::fromValue (m_image)
The image is displayed in qml. (I can't save the file immediately after uploading there will be a lot of pictures and I have to select and save.) When the image is displayed his QVariant...
I would like to save this image, who subsequently to use as Photo of Contact...
I saw the code example
imageData1 is QByteArray
Image image = QImage::fromData (imageData1, "BMP");
QFile outFile("shared/photos/temp1.bmp"); change the path to your file
outFile.open (QIODevice::WriteOnly);
image. Save (& outFile, "JPEG");I tried to convert the QVariant to QByteArray using QVariant.toByteArray (). but it did not work.
Any help will be really appreciated...
The problem is solved by standing around ImageData object of data instead of the Image object. By using the following code...
Demonstration of QByteArray = ImageConverter::encode ("image/jpeg", myImageData);
QImage image = QImage::fromData (demonstration, "JPEG");
QString imgPath = "shared/photos/"+myImageName+".jpg";If (!) QFile::exists(imgPath))))
{
QFile outFile (imgPath);outFile.open (QIODevice::WriteOnly);
image. Save (& outFile, "JPEG");
} -
First CC to organize images by date and time
Hi guys, someone knows how to organize images and videos sorted by time and date after importation with first CC? In the project Panel, I tried to add "date of creation" in the display of the metadata, but is possibole not to organize. After adding "Date of creation" I click on the column header for "Date of creation" in the Panel project, but nothing happens.
Please any suggestions?
There was a bug with older versions of PP. We could not sort by any of the Date fields.
This has been fixed, so remember that you run 2015.4.
-
Merge images &; draw the layer and change the layer of the image?
Im working on a picture of a bird where I put a white square on a single layer (drawing layer) and an image on the layer below. Then, I deleted some parts of the white to make sure the image was the lineart, if that makes sense. Now, I want to use a different image as "coloring" for the wings of a bird, but I can't do that unless I am able to er parts an image layer or merge a draw and the layer of the image and it would end by like a drawing layer. How to be people?
Hi KayjaD.
Sorry, you can not bring draw as editable files .ai files. Currently they can only be brought as a Photo layer.
Sue.
-
In Muse miniature slideshow container, I have images where I can insert the data of image properties. SEO search engines see the data and help the visibility of my site?
Post edited by: Howard Lower and rewrote the question because I have yet to get a response.
Yes, they will be included in the report.
Please check these links:
https://helpx.Adobe.com/Muse/how-to/add-alt-text-and-ToolTips.html
https://forums.Adobe.com/thread/1747973?start=0&TSTART=0
Thank you
Sanjit
Maybe you are looking for
-
Until the week last Firefox coasted reasonably little pop-up (windows 10), now it crashes immediately. I reinstalled, ticked hardware acceleration (it starts in safe mode), but is not fixed. Any ideas?
-
E-mail Exchange shows only 15 messages
I'm syncing my Exchange corporate e-mail through the default e-mail application. This is the only account that use in the email app. Currently it shows only the 15 most recent messages. How can I show more? Is there a setting somewhere or a button 'n
-
HP Officejet Pro 8500: 8500 ink levels appears after the upgrade to Windows 10
When I go to the HP Solution Center, ink level is no longer displayed. Download the message ink level is not yet available. Just before the upgrade of levels have been posted. I ironed all cartridges and checked at the software level. All thoughts.
-
The installation CD is missing
I have an old computer with a top label saying it was deliverad with windows. I have therefore a product key is valid, but I don't have an installation CD. Can I get the files to install somewhere and continue to use the computer with Win XP? / Marti
-
Part number for CD/DVD player for Pavilion DV5
Have Pavilion DV5-1251nr P/N: NB165UA #ABA Vista 64 bit You want to replace the original defective CD/DVD disc. Pulled the drive from the laptop and it has a small label printed: "replace with HP 483864-003 replacement". It also has a HP PN #: 460507