Convert Square Pixels to Non-Square Pixels
Hi everyone,
I have some JPEG picture of the earth (720x486, Square pixels) that when I import it in FCP, the earth will not look round because it converts it in non-square pixels. I know that I need to convert my picture from Square pixels to non-square pixels AND keep the aspect of the earth round, but how to do it? That is my question.
Thanks for the help,
Load the image from the Timeline into the Viewer and click on the Motion tab. Open the Distort controls and adjust the aspect ratio accordingly. Depending on your Sequence settings, -12 or -33 should do it.
-DH
Similar Messages
-
Convert square wave to sinc wave
Can anyone please show me how to convert square wave to sinc wave?
Solved!
Go to Solution.Use the wave generator funtions found in palette Signal Processing - Waveform Generation. There are sine and triangle waveform generating functions there. You can set the number of samples and sample rate such that it would generate a partial waveform. Then you use Get Waveform Components to get the Y values, concat the values, then use Build Waveform to build it back to a waveform. You will get a back to back output. In the following example, I used a sine and square wave because a sine and triangle were too close in appearance and you could not readily see the effect.
As Smercurio says, I don't think this is a very good representation of an EKG signal. That signal has P, QRS, and T waves. There is no sine wave. The waves are like triangle waves, so just put DC waveforms (0 amplitude square wave) ahead of and in between triangle waves for P, QRS, and T, followed by DC.
- tbob
Inventor of the WORM Global -
Converting raw pixel into bitmap:
Hi i wonder to convert raw pixel into bitmap format. Is that any function is provided?
Thanks to your help.
ThamHi i wonder to convert raw pixel into bitmap format. Is that any function is provided?
Thanks to your help.
Tham -
Problems when converting square into button symbol
Hey, I got a question about converting square that has linear gradient no border and hard edge into a button symbol each time I do this the size of the symbol is always about 1px wider or taller or both, this doesnt happen when i try to do the same with square bitmap with filled color. (FW CS4)
Please explain if anyone got any clue whats going on with it.Fireworks CS4, WinXP Pro:
I create a rectangle 100 x 100, linear fill, hard edge. Select > F8 > Convert to Symbol - button. Symbol is exactly 100 x 100 px after conversion to a symbol (button type) -- I cannot reproduce what you see...
Maybe someone else can help you better... -
Converting from finished products non-batch to batch management
Hi guys,
Can you tell what is the best strategy to convert a system from non-batch managed to batch managed for the finished and salable product? Batch management should have been implemented from the start, but my client just realized that mistake. This is knowing that we already have inventory and all kinds of transactional data: purchase orders, sales order, production orders...
I am looking for the less painfull strategy, as detailed as possible.
Thank you.
FotsoIts going to be painful.............
1) Reverse all material stocks. Create a new cost center and consume the available stocks to that cost center using 201 mvt type.
2) If there are any open sale orders for that material delete the line item in those sale orders.
3) Update the batch management indicator in the material master.
4) Add back the material in the respective sale orders.
5) Post the stocks with batches by reversal mvt type 202 from the cost center.
Regards,
GSL. -
Cannot convert between unicode and non-unicode string datatypes
My source is having 3 fields :
ItemCode nvarchar(50)
DivisionCode nvarchar(50)
Salesplan (float)
My destination is :
ItemCode nvarchar(50)
DivisionCode nvarchar(50)
Salesplan (float)
But still I am getting this error :
Column ItemCode cannot convert between unicode and non-unicode string datatypes.
As I am new to SSIS , please show me step by step.
Thanks In Advance.My source is having 3 fields :
ItemCode nvarchar(50)
DivisionCode nvarchar(50)
Salesplan (float)
My destination is :
ItemCode nvarchar(50)
DivisionCode nvarchar(50)
Salesplan (float)
But still I am getting this error :
Column ItemCode cannot convert between unicode and non-unicode string datatypes.
As I am new to SSIS , please show me step by step.
Thanks In Advance.
HI Subu ,
there is some information gap , what is your source ? are there any transformation in between ?
If its SQL server source and destination and the datatype is as you have mentioned I dont think you should be getting such errors ... to be sure check advance properties of your source and check metada of your source columns
just check simple oledb source as
SELECT TOP 1 ItemCode = cast('111' as nvarchar(50)),DivisionCode = cast('222' AS nvarchar(50)), Salesplan = cast(3.3 As float) FROM sys.sysobjects
and destination as you mentioned ... it should work ...
somewher in your package the source columns metadata is not right .. and you need to convert it or fix the source.
Hope that helps
-- Kunal
Hope that helps ... Kunal -
Hello,
I am working on one project and there is need to extract Sharepoint list data and import them to SQL Server table. I have few lookup columns in the list.
Steps in my Data Flow :
Sharepoint List Source
Derived Column
its formula : SUBSTRING([BusinessUnit],FINDSTRING([BusinessUnit],"#",1)+1,LEN([BusinessUnit])-FINDSTRING([BusinessUnit],"#",1))
Data Conversion
OLE DB Destination
But I am getting the error of not converting between unicode and non-unicode string data types.
I am not sure what I am missing here.
In Data Conversion, what should be the Data Type for the Look up column?
Please suggest here.
Thank you,
Mittal.You have a data conversion transformation. Now, in the destination are you assigning the results of the derived column transformation or the data conversion transformation. To avoid this error you need use the data conversion output.
You can eliminate the need for the data conversion with the following in the derived column (creating a new column):
(DT_STR,100,1252)(SUBSTRING([BusinessUnit],FINDSTRING([BusinessUnit],"#",1)+1,LEN([BusinessUnit])-FINDSTRING([BusinessUnit],"#",1)))
The 100 is the length and 1252 is the code page (I almost always use 1252) for interpreting the string.
Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com -
Column "A" cannot convert between unicode and non-unicode string data types
I am following the SSIS overview video-
https://secure.cbtnuggets.com/it-training-videos/series/microsoft-sql-server-2008-business-development/6143?autostart=true
I have a flat file that i want to import the contents onto a SQL database.
I created a Dataflow task, source file and oledb destination.
I am getting the folliwung error -
"column "A" cannot convert between unicode and non-unicode string data types"
in the origin file the data type is coming as string[DT_STR] and in the destination object it is coming as "Unicode string [DT_WSTR]"
I used a data conversion object in between, dosent works very well
Please help what to doI see this often.
Right Click on FlatFileSource --> Show Advanced Editor --> 'Input and Output Properties' tab --> Expand 'Flat File Source Output' --> Expand 'Output Columns' --> Select your field and set the datatype to DT_WSTR.
Let me know if you still have issues.
Thank You,
Jay -
Column cannot convert between unicode and non-unicode string data types
I am converting SSIS jobs from SQL Server 2005 running on a Windows 2003 server to 2008R2 running on a Windows 2008 server. I have a dataflow with an OLE DB Source which is selecting from an Oracle view. This of course worked fine in
2005. This OLE DB Source will not even read the data from Oracle without the error "Column "UWI" cannot convert between unicode and non-unicode. The select is:
SELECT SOME_VIEW.UWI AS UWI,
CAST(SOME_VIEW.OIL_NET AS NUMERIC(9,8)) AS OIL_NET
FROM SOME_SCHEMA.SOME_VIEW
WHERE OIL_NET IS NOT NULL AND UWI IS NOT NULL
ORDER BY UWI
When I do "Show Advanced Editor" on this component, in the Input and Output Properties, I show the OLE DB External Column as DT_STR length 40 for the UWI column and for the Output Columns I see the UWI as the same DT_STR.
How can I get past this? I have tried doing a cast...cast(SOME_VIEW.UWI AS VARCHAR(40)) AS UWI and this gives the same error. The column in Oracle is a varchar2(40).
Any help is greatly appreciated. Thanks.Please check the data type for UWI using advanced editor for Oledb Source under
external columns and output columns. Are the data types same?
If not, try changing the data type (underoutput columns) same as data type shown under
external columns
Nitesh Rai- Please mark the post as answered if it answers your question -
Cannot convert between unicode and non-unicode string data types.
I'm trying to copy the data from 21 tables in a SQL 2005 database to a MS Access database using SSIS. Before converting the SQL database from 2000 to 2005 we had this process set up as a DTS package that ran every month for years with no problem. The only way I can get it to work now is to delete all of the tables from the Access DB and have SSIS create new tables each time. But when I try to create an SSIS package using the SSIS Import and Export Wizard to copy the SQL 2005 data to the same tables that SSIS itself created in Access I get the "cannot convert between unicode and non-unicode string data types" error message. The first few columns I hit this problem on were created by SSIS as the Memo datatype in Access and when I changed them to Text in Access they started to work. The column I'm stuck on now is defined as Text in the SQL 2005 DB and in Access, but it still gives me the "cannot convert" error.
I was getting same error while tranfering data from SQL 2005 to Excel , but using following method i was able to tranfer data. Hopefully it may also help you.
1) Using Data Conversion transformation
data types you need to select is DT_WSTR (unicode in terms of SQL: 2005)
2) derived coloumn transformation
expression you need to use is :
(DT_WSTR, 20) (note : 20 can be replace by your character size)
Note:
Above teo method create replica of your esting coloumn (default name will be copy of <coloumn name>).
while mapping data do not map actual coloumn to the destination but select the coloumn that were created by any of above data transformer (replicated coloumn). -
How to fix "cannot convert between unicode and non-unicode string data types" :/
Environment: SQL Server 2008 R2
Introduction:Staging_table is a table where data is being stored from source file. Individual and ind_subject_scores are destination tables.
Purpose: To load the data from a source file .csv while SSIS define table fields with 50 varchar, I can still transfer the data to the entity table/ destination and keeping the table definition.
I'm getting validation error "Cannot convert between a unicode and a non-unicode string data types" for all the columns.
Please helpHi ,
NVARCHAR = DT_WSTR
VARCHAR = DT_STR
Try below links:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/ed1caf36-7a62-44c8-9b67-127cb4a7b747/error-on-package-can-not-convert-from-unicode-to-non-unicode-string-type?forum=sqlintegrationservices
http://social.msdn.microsoft.com/Forums/en-US/eb0d1519-4be3-427d-bd30-ae4004ea9e8d/data-conversion-error-how-to-fix-this
http://technet.microsoft.com/en-us/library/aa337316(v=sql.105).aspx
http://social.technet.microsoft.com/wiki/contents/articles/19612.ssis-import-excel-to-table-cannot-convert-between-unicode-and-non-unicode-string-data-types.aspx
sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **. -
How convert database RAC to Non-RAC 10g
Hi, How convert database RAC to Non-RAC 10g, i'm use Oracle Cluster Filesystem.
Thanks for your help.Hi, i made a little lab and i found the solution, i share with you a quick procedure.
1.- Create a copy of parameter file and delete clusters parameters.
cluster_database=false,etc, etc.
Note. Add the parameter
norecovery_through_resetlogs=TRUE
2.- Create the backup of controfile.
connect / as sysdba
alter database backup controfile to trace;
3.- Stop the cluster database and make the copy to new server.
srvctl stop database -d myrac
scp * new_server:/new_path
4.- Create the password file and init file into the new server
5.- Start the database with nomount option
connect / as sysdba
startup nomount
6.- Create the controlfile and set the new database name and new paths for oracle files.
7.- Open the database with resetlogs option
alter database open resetlogs;
Thanks for your help.
Luck
Regards. -
Converting square wave to double
I am trying to pass to square wave signal into math script. I am assumeing that i have to convert the signal into a double. Is this possible? If so how could I convert this signal so it can be passed into math script?
Thanks,
LeifWhich data type does your square wave signal has? If it is a waveform you can get the value as an array of double with the Get Waveform Components primitve.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
What's the best way to convert between pixels and device-independent units?
WHAT I HAVE:
Visual Basic 2010, .NET 4.0, WinForms
WHAT I NEED:
I need a way to convert back and forth between device-dependent units (i.e., pixels) and
device-independent units (i.e., inches, centimeters, points). The VB6Compatibility namespace has TwipsPerPixel methods, but I figure there's got to be a more elegant way (especially since my program didn't start in VB6).
Robert Gustafson"Dots-per-inch" means "pixels-per-inch", right? If I'm right, then
XPixels = Graphics.DpiX * XInches : YPixels = Graphics.DpiY * YInches
and, conversely,
XInches = XPixels / Graphics.DpiX : YInches = YPixels / Graphics.DpiY
Is that correct?
(PS. Why not just tell me about the DpiX and DpiY properties, rather than making me click a link?)
Robert Gustafson -
Converting square signal into sinusiod avoiding Fourier Transform
I have a clean digitized square wave signal with a frequency around 50 kHz and I would like to convert it into a sinusoid with the same frequency and phase (don't care about amplitude). I would like to do so avoiding the stantard approach that would be doing the Fourier tranform to measure the frequency and phase and then generating a new sinusoid. Are you aware of any other procedure?
Thank you!What's up with the FFT-phobia? Is this some kind of homework with silly restrictions?
(Even the zero phase filter mentioned by Darin might use FFT like functions internally. )
Keeping up the facade, here's one way using "extract single tone". (Which also uses FFT internally).
Of course you could get a good initial estimate on the frequency and phase by measuring the zero crossings, then fit to a sine function with adjustable amplitude, phase and frequency using levenberg-marquardt. Suddenly, FFT seems like a better idea .
LabVIEW Champion . Do more with less code and in less time .
Attachments:
SquareToSine.png 20 KB
Maybe you are looking for
-
I need to get sound events from sounds embedded in a MovieClip
I'm working on a SoundManager class for a game development platform. Unfortunately, I can't leverage the Sound class because the requirements are that the sounds for an application would be embedded in individual MovieClip objects and set to stream a
-
Error while extracting Vendor Data from R/3 system
Hi all, I am trying to extract vendor data from R/3(ECC6.0) system to XI using Tcode MDM_CLNT_EXTR. already I have maintained partner profile for the same. I have given the necessary details like Creditor_extract,Target System and Distribution Mode a
-
Have mac pros with 1tb drives in tem. Trying to figure out imaging via deploy studio.
-
Content migrated with ICE, Name property and Check In
I have pulled in a new portal server several KM folders, originally located in another portal, with <i>Content Exchange</i> (online ICE protocol). When I edit locally one of these migrated files, save, and check it in, I get a message complaining tha
-
How connect one client from another client in SAP.
hi In my company,HR module is in independent client. So other Module FI want to get HR information.i want to write a function in HR system. in FI module to call it and return data. (RFC). how set it ? the two R/3 System can access one another. how