Selection of Pixel single column, then paste...
Hello
This might look like a very unusual request, but I was upset to find the answer.
In a given photographic image, I would choose a single pixel in each row of pixels, running up and down in a columnof a pixel. Then, I want to eliminate (Cup) nothing else on the Web with the exception of the one column of selected pixels. From there, I would take the pixel selected in each line and copy the pixel color on each line on the left and right of the pixel selected.
The end result is that I have a series of horizontal lines of pixels height of one color (based on the color of the selected pixel) through the image of left and right.
Looking at this picture:
Select a single pixel on each line in a single column-
xxxxxx XXXXXXS
xxxxxx XXXXXXS
xxxxxx XXXXXXS
Remove/cut everything except the selected pixels in only one column-
...... S......
...... S......
...... S......
Now, on each line, copy single pixel selected to the left and the right of the selection, to the extent of the canvas-
SCOTTS SCOTT
SCOTTS SCOTT
SCOTTS SCOTT
Interesting challenge or Easy-Peasey?
Thank you!
Easy. Use the brand single pixel tool to select a line of pixels. Cmd/Ctrl-J to copy pixels into a new layer. CTRL/cmd-click on the layer icon to select these pixels. CTRL/cmd-T to turn those pixels on the width of the image.
Tags: Photoshop
Similar Questions
-
Single-column-multi-Rows, columns by using Types of Collection
Can you guys help me get the result after using types of collection or all the predefined collections?
In fact, I'm trying to compare the results of the columns col1 and col2 against a single value, so try to get the output in a single column.
Required output should be like
SQL > with t as (1 select col1, col2 2 double)
2 Select * from t;
COL
----------
1
2
Please suggest any solutions using regexp/connect by / or etc.
Well, then:
SQL> with t as (select 1 col1, 2 col2 from dual) 2 select nt.column_value 3 from t 4 , table(sys.odcinumberlist(col1, col2)) nt 5 ; COLUMN_VALUE ------------ 1 2
but it is overkill IMO.
-
Several links in the single column
Hello
I have a requirement to display several links in the single column.
Example:
Select emp_name emp #, total_days days, col3, col4 from table
Here, I need to display a link beside the example of days
If day > 100 then display "101 CH" where 101 days value and CH is the URL link which will open a popup page. I can't have another column for the link that we have already several columns. So I need a way to display the link with the value next to him. How can I achieve this?
try to put it in the source of the region
Select emp_name, emp #,.
-case when days > 100 then days | " http://Google.com" target = "_blank" > popup' another to_char (days) end total_days, "
col3, col4 from table;
This should display "101 popup" when the days more than 100, no popup link on days<= 100="" e,g="" "99"="">=>
and the value of the column total_days to the "Reporting Standard column" to allow html tags.
Change the href attribute and formatting to meet your requirement
-
Hi all
I have a requirement where I need to get all the records, for each record in double, I need to get a single column with null or 0.
create table a1
(
Identification number,
VARCHAR2 (100), the point
part varchar2 (100));
Insert into a1
values (1, 'ABC', 'A1');
Insert into a1
values (2, 'DEF', 'A2');
TABLE A
PART ITEM ID
1 ABC A1
1 ABC A1
1 ABC A1
DEF 2 A2
DEF 2 A2
3 DEF A2
O/P
PART ITEM ID
1 ABC A1
1 ABC 0
1 ABC 0
DEF 2 A2
2 DEF 0
3 DEF 0
Thanks in advance.
Thanks for your help FrankKalush...
This one will work.
WITH got_r_num AS
(
SELECT NVL (a1.id, a1.id) as id
NVL (a1.item, a1.item) AS element
NVL (a1.part, a1.part) IN the framework
a1.id AS a_id
ROW_NUMBER () OVER (PARTITION BY a1.id
ORDER BY NULL
) AS r_num
BY the a1
)
SELECT id
element
CASE
WHEN a_id IS NOT NULL
AND r_num = 1
THEN part
ELSE ' 0'
END in the framework
OF got_r_num
;
-
Convert a single column into multiple lines
Hi people,
I have a task to display a single column into multiple lines (for use in LOV)
For Ex:
The column consistes of value such as 98,78,67,68,34,90. -It's a unique column values where none of the values can be ' number that is separated by commas
Then we must view it as
98
78
67
68
34
90
-under the number of lines (no lines can be ' do not number).
Thanks in advanceTry this...
SQL> ed Wrote file afiedt.buf 1 select regexp_substr('98,78,67,68,34,90', '[^,]+',1,level) Value 2 from dual 3* connect by level <= regexp_count('98,78,67,68,34,90',',') + 1 SQL> / VALUE ----------------- 98 78 67 68 34 90 6 rows selected.
Thank you!
-
Trying to create a Section to multiple columns with Sections of the single column before and after
Is there a way to create a section break that is not default to a new page after I created columns on a page. I created the columns and under them, I want to return to the normal formatting for the rest of the single page. See picture attached.
Any rejection of Pages v5 has a break of presentation which was present in the Pages ' 09 v4.3. This will allow you to transition to several columns and back to single column on the same page. In the v5 Pages, you can insert 3 text boxes and change the 3-column layout in the Middle text box. You use the toolbar item Insert to inject column breaks when you want to start a new list in the next column. I'll show this screenshot below.
You can fake your layout in Pages v5 using 3 text boxes and setting 3 columns in the Central text area. Better to show the mode of provision for this and in a text box, the column outlines are not displayed. After each column list, you then choose column break the Insert point toolbar menu to move to the next column, add a list, repeat. Each column will expand downwards. Click on the following to enlarge.
Pages ' 09 v4.3 using layout breaks Pages using 3 text boxes V5.6.1
-
Hello
I need to split into single column in the format below:
SELECT '6500,1100,3200,1233,9000' FROM DUAL;
Result:
6500
1100
3200
1233
9000
For 11g and above:
Select regexp_substr (6500, 1100, 3200, 1233, 9000', ' [^,] +', 1, level) suite
of the double
connect by level<= regexp_count('6500,1100,3200,1233,9000',="" ',')="" +="">=>
For 10g:
Select regexp_substr (6500, 1100, 3200, 1233, 9000', ' [^,] +', 1, level) suite
of the double
connect by level<= length="" (regexp_replace="" ('6500,1100,3200,1233,9000',="" '[^,]+'))="" +="">=>
or (if there is no empty entries):
Select regexp_substr (6500, 1100, 3200, 1233, 9000', ' [^,] +', 1, level) suite
of the double
connect regexp_substr (6500, 1100, 3200, 1233, 9000', ' [^,] +', 1, level) is not null
RESULT 6500 1100 3200 1233 9000 5 selected lines.
-
Two foreign keys of a table in a single column
Hi gurus
I wonder that can we add two foreign keys of a table on a single column, I think the answer is, but what should be the reason behind this?
Appreciate if someone there explain to me...
Concerning
Muzz
Hello Muzz,
Perhaps the example of human Chen reveals a design error.
If a student has a 'teacher_id' "teacher" FK and FK for "emp" becaue each teacher is an EMP, I guess that the correct design would be to have only the FK of 'teacher' and to have another pointing to the 'emp' table in the 'teacher' tabe FKBut we can imagine comical situations...
CREATE TABLE PEOPLE (id NUMBER of KEY PRIMARY, name VARCHAR2 (20 CHAR),...);
CREATE TABLE SCIENTIST (id people KEY PRIMARY NUMBER (id) REFERENCES, discipline VARCHAR2 (20 CHAR),...);
CREATE TABLE POLICEMAN (id REFERENCES to KEY PRIMARY NUMBER (id), hire_date people DATE,...);First table = all.
2nd: a subset of the first, with people having the profile of 'scientific '...
3rd: a subset of the first, with people being a policeman.
It might be people first table and in none of the 2nd and 3rd, 1st and 2nd, 1st and 3rd only or in the 3 tables.Then we can have a fourth table of 'something' referring to a person who must be a scientist and a police officer.
Here is a sqlplus session illustrating; the last piece: I try inserting several lines in xxxx, only the last is accepted.
SQL > CREATE TABLE PEOPLE (id NUMBER of the PRIMARY KEY, name VARCHAR2 (20 CHAR));
Table created.SQL > CREATE TABLE SCIENTIST (people of REFERENCES of KEY PRIMARY NUMBER id (id), discipline VARCHAR2 (20 CHAR));
Table created.SQL > CREATE TABLE POLICEMAN (people of REFERENCES of KEY PRIMARY NUMBER id (id), DATE hire_date);
Table created.SQL > CREATE TABLE XXXX (id PRIMARY KEY NUMBER, people_id NUMBER, any other VARCHAR2 (30 CHAR));
Table created.SQL > ALTER TABLE ADD CONSTRAiNT fk_xxsci FOREIGN KEY (people_id) scientific xxxx REFERENCES (id);
Modified table.SQL > ALTER TABLE ADD CONSTRAiNT fk_xxpol FOREIGN KEY (people_id) police xxxx REFERENCES (id);
Modified table.SQL > INSERT INTO person VALUES (100, 'John');
1 line of creation.SQL > INSERT INTO person VALUES (120, 'Mary');
1 line of creation.SQL > INSERT INTO person VALUES (103, 'Tom');
1 line of creation.SQL > INSERT INTO person VALUES (123, "Bruno");
1 line of creation.SQL > INSERT INTO VALUES of scientific (120, 'Chemistry');
1 line of creation.SQL > INSERT INTO scientific VALUES (123, 'Mathematics');
1 line of creation.SQL > INSERT INTO VALUES of policeman (103, DATE ' 2001-04-01');
1 line of creation.SQL > INSERT INTO VALUES of policeman (123, DATE ' 1998-07-01');
1 line of creation.SQL > INSERT INTO xxxx VALUES (1, 456, "nothing");
ERROR on line 1:
ORA-02291: integrity constraint (SYS. FK_XXPOL) violated - key parent not foundSQL > INSERT INTO xxxx VALUES (1, 100, "only to people");
ORA-02291: integrity constraint (SYS. FK_XXPOL) violated - key parent not foundSQL > INSERT INTO xxxx VALUES (1, 120, "only the learned");
ORA-02291: integrity constraint (SYS. FK_XXPOL) violated - key parent not foundSQL > INSERT INTO xxxx VALUES (1, 103, "only police officer");
ORA-02291: integrity constraint (SYS. FK_XXSCI) violated - key parent not foundSQL > INSERT INTO xxxx VALUES (1, 123, 'ok');
1 line of creation.Best regards
Bruno Vroman.
-
Total number of characters in a single column
Hello
I need to find how many times a character was repeated in a single column.
sample_col 1@2@3@4@5@6@7@8@9 @. Need to know how many times '@' is repeated in this column.
Oracle Version: 10g
Hello
One way is to see how much more short chain gets when you delete all the ' @' s:
SELECT sample_col
, LENGTH (sample_col |) 'x' )
-LENGTH (REPLACE (sample_col
, '@'
) || « x »
) AS num_ats
FROM table_x
;
-
I have a selection of ants walk on my document. I need to move the selection (not pixels) with output by using the cursor keys.
Is it possible to move an existing selection in the document by using the mouse?
Yes, by selecting one of the selection tools and clicking inside the selection, and then drag to the new location.
-
Hello. I bought Lightroom, paid license 1 year view, did not have serial. And number and then past the 30 day trial and may not use the product or work more hard. I paid has been deducted from my credit card. How I'm going to work now?
Hi Sergior96769872,
I saw your Adobe ID (email address), you used to post on the forums, and I see an active subscription on it.
Please see Help below links: { make sure you use the same Adobe ID (email address) that you used to purchase the subscription }
Connect and disconnect activate Cloud Creative applications
Adobe Creative Cloud apps back in test mode after 2015 set CC to update
* NOTE: Make sure that your firewall of your computer or security software firewall does not block Adobe, if you are not sure of it can just disable the firewall for a while and then log off and log on creative application of cloud and check.
If it still gives you an error of the trial, then please refer to the troubleshooting listed below:
If you are using MAC:
1-force Quit the sub process in the same sequence as shown below from Activity Monitor: see, use the monitor activity on your Mac - Apple Support
- Creative cloud
- Basic timing & sync to basic support
- CC library & process CCX
- Adobe Common Desktop
- Adobe update daemon
- Broker CIB Adobe
- After that, everything that said adobe on it do a force quit for her
2 - right click on the Finder icon, then select the "Go - To" folder. You will get a text box, type in the following command and then press the 'return '. ("Not to be missed ~ symbol")
~/Library (it will open the folder of the user's library.)
3. browse to the Application Support > Adobe > trash OOBE folder and folder AAM Updater
4 - CUT any installed security software with firewall system.
5 - go to: Apple icon > system preferences > Security & Privacy > General > "allow applications downloaded on" change this anywhere (to make these changes click the padlock in the corner at the bottom left of this window and enter your computer password)
These changes are temporary you can restore these changes back to normal once your creative cloud app is running *.
6 - restart the cloud creative app and connect
If you use the WINDOW:
1 complete the process / Task Manager tasks in the same order, as mentioned below the Manager tasks. See, Open the Task Manager
- Creative cloud
- Basic timing & sync to basic support
- CC library & process CCX
- Adobe Common Desktop
- Adobe update daemon
- Broker CIB Adobe
- After that, everything that said adobe on it do a force quit for her
2 - C:\Users\
\AppData\Local\Adobe\ MAA UPDATER and two OOBE (App data & Program Data is hidden folder please see, Show files and folders hidden in Windows 7, 8.x, 10, or Vista) 3 - CUT any security software installed with firewall system, also if your having any browser Add On installed for blocking advertising that turn off too.
These changes are temporary you can restore these changes back to normal once your creative cloud app is running *.
4 - raise the cloud creative app and connect
Let us know if that helps.
-
Pixel selection - LCD Pixel limit
I'm working on LCD screens, where we need to create screens in Photoshop to produce a BMP. Hardware / software dictates that only 4 colors is used on each icon screen.
If I create a white icon on black background, the limit of pixel assemblies from black to white, creating more than 4 colors. I can run on the LCD screen, by changing each pixel manually, by removing this "shadow".
We will be producing over 50 screens each in a different language. Is there an easier way to change this limit to produce an edge last pixel?
How do you create icons? If you are using forms, you should be able to have "Snap to pixel grid vector tools" selected in the preferences. To lines and shapes not at 90 degrees, you must use the polygon lasso tool to create the form and have the off anti-alias box when selecting, then fill the selection. You can also use the magic wand tool to make a selection of an item and then fill in on a new layer. There an edge hard pixel.
-
Merge two column in single column value
Team,
I have a requirement where in I need to merge 2 column values in a single column.
e.g. I Percent_complete column in my table. and my table has only one record.
I need to ask questions that I need to store the values of percent_complete and (100-percent_complete) in a single column.
ex
Percentage complete is set to 30.
I need to select the 30 and 70 (100-30) both in a single column.
Thank you
If you mean like this?
SQL > ed
A written file afiedt.buf1 with t (select 30 as double percent_complete)
2 --
3 end of test data
4 --
5. Select decode(rownum,1,percent_complete,100-percent_complete) as percent_complete
6 t
7 * connect by rownum<=>=>
SQL > /.PERCENT_COMPLETE
----------------
30
70 -
Convert lines to a single column
Hi all
Need help, I have a table where I want the output to a single column
ex: Select in t1. *
the query result_
rownum col_1
1 8217
2 6037
3-5368
4 5543
5 5232
I want the result to be: * 8217,6037,5368,5543,5232 *.
Thank you for your help in advance.
I search the web but couldn't find a solution that is easily understandable.WM_CONCAT is not documented, so not everyone would want to use it in production code.
However, SYS_CONNECT_BY_PATH might work:SQL> create table t as 2 select 1 rn, 8217 count_1 from dual union 3 select 2, 6037 from dual union 4 select 3, 5368 from dual union 5 select 4, 5543 from dual union 6 select 5, 5232 from dual; Table created. SQL> select * from t; RN COUNT_1 --------- ---------- 1 8217 2 6037 3 5368 4 5543 5 5232 5 rows selected. SQL> SQL> select rownum 2 , ltrim(sys_connect_by_path(count_1, ','), ',') count_1 3 from t 4 where connect_by_isleaf=1 5 start with t.rn=1 6 connect by t.rn = prior t.rn+1; ROWNUM ------- COUNT_1 ------------------------------------------------------------------------------------- 1 8217,6037,5368,5543,5232 1 row selected.
Or LISTAGG on 11.2:
SQL> select listagg(count_1, ',') within group (order by rn) agged from t; AGGED ------------------------- 8217,6037,5368,5543,5232 1 row selected.
I really hope that you do not really use ROWNUM as column name? I used instead RN...
-
Number of words and then pasting text into the text block
I'm trying to create a javascript script that counts the words in a block of selected text, adds "WORDS." at the end and then paste at the beginning of this block of text with a "BOLD" character style applied. So he would look like:
25 WORDS. Text text text text text. etc.
I managed to find a way to create the character style, to count the words in the selected text block and give me an alert. But I'm not sure how to apply the character style and paste it at the beginning. Any help would be really appreciated. Here's what I have so far.
Thank you
-----------------------
var curDoc = app.activeDocument;
mySel var = app.selection [0];
Create the style of wordcount
If (! curDoc.characterStyles.item("wordcount").isValid) {}
cStyle var = curDoc.characterStyles.add ({name: "wordcount"});
}
else {}
cStyle var = curDoc.characterStyles.item ("wordcount");
}
cStyle.fontStyle = "Bold";
//
var mySelWords = mySel.texts.everyItem (). words.length;
var mySelStoryWords = mySel.parentStory.words.length;
Alert (mySelWords + "WORDS.");
Hello
further, through the selection, change the same way:
var curDoc = app.activeDocument, mySel = app.selection, len = mySel.length, cStyle = curDoc.characterStyles.item("wordcount"), mySelWords, mString, curSel; if (!cStyle.isValid) cStyle = curDoc.characterStyles.add({name: "wordcount", fontStyle: "Bold"}); while (len-->0) { curSel = mySel[len]; if (curSel.hasOwnProperty ("insertionPoints") ) { mySelWords = curSel.texts.everyItem().words.length, mString = mySelWords + " Words. "; curSel.insertionPoints[0].appliedCharacterStyle = cStyle; curSel.insertionPoints[0].contents = mString; } }
Note that textFrame.words County is those visible only, so the other part of the text is excluded.
If some of the answers have been useful - mark (their), pls ==> it's a good indicator for other researchers and a few points for me.., mlask.
Jarek
Maybe you are looking for
-
Equium M70 will not pick up my wireless network
Hello I have a Satellite M70-173. Laptop will not pick up my wireless network even though it shows on the other networks nearby.I tried to update the list of networks, I deleted the network and added it again but still no joy. This worked OK until al
-
Change the memory allocated for the graphics?
Hi, I have an Equium A60-181 with graphics ATi Mobility Radeon 7000. For the moment, that this GPU is using 64 MB of my system RAM that result with only 448 MB of RAM (512-64) for Windows. For a video resolution of 1024 x 768 32 bit it's a ridiculous
-
Re: Sat Pro A10 and Sat 10 - the difference - need new keyboard
Hey all! New ID as I am garbage to remember the passwords/log on emails... I have a Satellite Pro A10, which needs a new keyboard - there's loads are circulating on ebay for Satellite A10 - but not the Pro - now I'm almost 100%, it'll be the same key
-
I just noticed that all the documents I have stored on my hard drive got converted to format WordPad somehow. I have no idea why. When I open Word and then open the file in Word and click to save it in word, it always records in WordPad format. I
-
Download of Virtual Machine Manager of console.
Hello I installed the evaluation for Service Center Virtual Machine Manager. http://www.Microsoft.com/en-US/Download/details.aspx?ID=40843 I got the operating system and managed to connect my Hyper-V hosts. However, I'm trying to get Virtual Machin