Ink file output method, output device, and program
First Claim
Patent Images
1. A method of outputting an ink file, the method comprising:
- generating M (M is an integer of 1 or more) pieces of stroke data on a basis of event data generated as input devices move, respectively;
encoding the M pieces of stroke data together with stroke identifications (ids), using a first encoding scheme involving data compression, into a first format specified by an application program;
generating a metadata block as information associating the M pieces of stroke data encoded in the first encoding scheme with N (N is an integer of 1 or more and M or less) kinds of metadata, wherein values of the stroke ids are associated with the N kinds of metadata;
encoding the metadata block including the values of the stroke ids, using a second encoding scheme different from the first encoding scheme, into a second format, which is an Extensible Markup Language (XML) format and is different from the first format; and
writing the M pieces of stroke data and the stroke ids encoded in the first encoding scheme and the metadata block including the values of the stroke ids encoded in the second encoding scheme to the ink file.
1 Assignment
0 Petitions
Accused Products
Abstract
An ink file output method is provided, which includes: generating M (M is an integer of 1 or more) pieces of stroke data SD on the basis of event data generated as M input devices move, respectively; generating N (N is an integer of 1 or more and M or less) kinds of logical names LN (metadata) identifying the M number of input devices; generating a metadata block associating the M pieces of stroke data SD with the N kinds of logical names LN; and writing the M pieces of stroke data SD and the metadata block to an ink file.
23 Citations
20 Claims
-
1. A method of outputting an ink file, the method comprising:
-
generating M (M is an integer of 1 or more) pieces of stroke data on a basis of event data generated as input devices move, respectively; encoding the M pieces of stroke data together with stroke identifications (ids), using a first encoding scheme involving data compression, into a first format specified by an application program; generating a metadata block as information associating the M pieces of stroke data encoded in the first encoding scheme with N (N is an integer of 1 or more and M or less) kinds of metadata, wherein values of the stroke ids are associated with the N kinds of metadata; encoding the metadata block including the values of the stroke ids, using a second encoding scheme different from the first encoding scheme, into a second format, which is an Extensible Markup Language (XML) format and is different from the first format; and writing the M pieces of stroke data and the stroke ids encoded in the first encoding scheme and the metadata block including the values of the stroke ids encoded in the second encoding scheme to the ink file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A device for outputting an ink file, the device comprising:
-
a stroke data generator configured to generate pieces of stroke data on a basis of event data generated as an input device moves, and to encode the pieces of stroke data together with stroke identifications (ids), using a first encoding scheme involving data compression, into a first format specified by an application program; a metadata generator configured to generate metadata identifying the input device; and an ink file generator configured to generate a metadata block associating the metadata with the pieces of stroke data, wherein values of the stroke ids are associated with the metadata, to encode the metadata block including the values of the stroke ids, using a second encoding scheme different from the first encoding scheme, into a second format, which is an Extensible Markup Language (XML) format and is different from the first format, and to write the pieces of stroke data and the stroke ids encoded in the first encoding scheme and the metadata block including the values of the stroke ids encoded in the second encoding scheme to the ink file.
-
-
20. A computer-readable non-transitory medium including a program which, when loaded to a computer, causes the computer to:
-
generate pieces of stroke data on a basis of event data generated as an input device moves; encode the pieces stroke data together with stroke identifications (ids), using a first encoding scheme involving data compression, into a first format specified by an application program; generate metadata identifying the input device; generate a metadata block associating the metadata with the pieces of stroke data, wherein values of the stroke ids are associated with the metadata; encode the metadata block including the values of the stroke ids, using a second encoding scheme different from the first encoding scheme, into a second format, which is an Extensible Markup Language (XML) format and is different from the first format; and write the pieces of stroke data and the stroke ids encoded in the first encoding scheme and the metadata block including the values of the stroke ids encoded in the second encoding scheme to the ink file.
-
Specification