Questions tagged [identify]

196 questions
0
votes
0 answers

Why when I merge 2 pdf files with `gs` (ghostscript) the identify command cannot get the page count?

This my gs command than merges 2 one-page pdf file: gs -dNOPAUSE -dSAFER -sDEVICE=pdfwrite -sOUTPUTFILE=/tmp/blahblahblah.pdf -dBATCH page1.pdf page2.pdf And this is the output: GPL Ghostscript 8.70 (2009-07-31) Copyright (C) 2009 Artifex…
Alireza
  • 6,497
  • 13
  • 59
  • 132
0
votes
1 answer

Identify names with same ID and same age

Hi this is my first post here, sorry for my bad english. I'd like to see if all the age of one value are the same. If they is no duplicate or if the values are the same, then it's ok to me. In the example below, when it's "NOT OK", i'd like to copy…
Verd'O
  • 101
  • 1
  • 10
0
votes
1 answer

How can i ignore replace text within specific two symbol

I used following code snippet to replace text private void textBox1_TextChanged(object sender, EventArgs e) { string A = textBox1.Text.Trim(); string B = textBox1.Text.Trim(); A = A.Replace("AB", "CD"); A =…
Sachith Wickramaarachchi
  • 5,546
  • 6
  • 39
  • 68
0
votes
1 answer

Identify and flag consecutive duplicates MATLAB

I have a column vector with numbers 1 to 8. Under normal circumstances there are 4 consecutive values of each number, moving from 1 to 8 i.e: Perfect_sample=[1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 5 5 5 5 6 6 6 6 7 7 7 7 8 8 8 8]'; The pattern starts…
Buzz
  • 516
  • 7
  • 21
0
votes
2 answers

Using PHP get png type

In a linux console if you use identify -verbose file.png it gives you a full print out of the file. Is there anyway to get that same information in php? Specifically I need the "Type" line which states the type of png is it. TrueColorAlpha,…
Case
  • 4,244
  • 5
  • 35
  • 53
0
votes
2 answers

Identify group with two variables

Suppose I have the following data in Stata: clear input id tna ret str2 name 1 2 3 "X" 1 3 2 "X" 1 5 3 "X" 1 6 -1 "X" 2 4 2 "X" 2 6 -1 "X" 2 8 -2 "X" 2 9 3 "P" 2 11 -2 "P" 3 3 1 "Y" 3 4 0 "Y" 3 6 -1 "Y" 3 8 1 "Z" 3 6 1 "Z" end I want to make an ID…
Jbv
  • 23
  • 3
0
votes
1 answer

How to identify data type from file

So I need to know how to identify a line of text and output what kind of data type it is, like if the line says 123, it should be output as 123 int. Right now, my program only identifies boolean, string, and char. How do I get it to tell me if it is…
0
votes
2 answers

Identify row number which have duplicate values in multiple columns in R?

My data set looks like: id 1 2 3 4 5 v1 1 1 0 13 14 v2 1 2 0 13 2 v3 1 12 0 13 5 I have transposed it while representing here, otherwise 1st column is the column name of the dataset Now, I want to identify id's which…
0
votes
2 answers

Identify clearly broken jpeg when jpeginfo and identify sees nothing wrong

I have a problem identifying some broken images, running e-clasified website where users upload thousands images per day, some images looks like that Broken image It's clearly broken. BUT - neither identify neither jpeginfo sees nothing wrong. I've…
0
votes
1 answer

Identify Magento visitor before login and after login

how can i identify visitor in magento which isnt logged in , then he do some action and then he log in / create new account ? i need to identify that it is the same user, but if i use classic php session_id() - this is changed after user logs in. i…
macho
  • 91
  • 1
  • 12
0
votes
0 answers

CakePHP 3 - Login Error - Call to a member function identify on boolean

Hello I'm using CakePHP 3 to simple setup a site which some pages of it need user to login first. It was fine when I put the loadComponent('Auth', blablabla) code in initialize() of AppController.php. src\Controller\AdminController.php ... public…
Tsumannai
  • 134
  • 2
  • 12
0
votes
1 answer

What is the best way of setting a package prefix?

So lets say I have a byte array byte[] bytes which is initialised with some data(Client side). The contents of the byte array can be of type A or B. Then I want to sent the array over to my server. And I want the server to be able to identify which…
Rakim
  • 1,087
  • 9
  • 21
  • 40
0
votes
1 answer

A way to generate code from an instance of a Java Object

I know that HashCode is a way, but I've noticed that after a while the HashCode change. So, I have an application that permit to buy things, every article is identified by a code generated by now from the hashcode and stored in the db PostgreSQL,…
anto150192
  • 539
  • 3
  • 13
0
votes
1 answer

Identify entries / records that appear in table() R

I'm trying to identify 'unique' and 'near unique' cases or records from a dataset for a disclosure control project. Particularly combinations on certain variables that only appear once, twice etc. The records appear in: table(Age,Sex,Ethnicity) I…
Iain
  • 25
  • 5
0
votes
1 answer

Measure if path is set as Clipping path

Our company receives thousands of images every year, that has to be saved in exactly the correct way. Up till now this has been done by hand by Agencies, but our Indesign server has started to crash when a tiff image has a path but no set clipping…
KJJ JYSK
  • 23
  • 6