JP2009246602A - Image data generator and image data generation program - Google Patents

Image data generator and image data generation program Download PDF

Info

Publication number
JP2009246602A
JP2009246602A JP2008089348A JP2008089348A JP2009246602A JP 2009246602 A JP2009246602 A JP 2009246602A JP 2008089348 A JP2008089348 A JP 2008089348A JP 2008089348 A JP2008089348 A JP 2008089348A JP 2009246602 A JP2009246602 A JP 2009246602A
Authority
JP
Japan
Prior art keywords
image
embedded
barcode
image data
existing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008089348A
Other languages
Japanese (ja)
Other versions
JP4582175B2 (en
Inventor
Minako Ishida
美菜子 石田
Akihiko Niwa
明彦 丹羽
Akihiro Sawada
昭広 澤田
Chitoshi Ito
千年 伊藤
Hideo Ueno
英生 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2008089348A priority Critical patent/JP4582175B2/en
Priority to PCT/JP2009/055038 priority patent/WO2009122888A1/en
Publication of JP2009246602A publication Critical patent/JP2009246602A/en
Application granted granted Critical
Publication of JP4582175B2 publication Critical patent/JP4582175B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/3871Composing, repositioning or otherwise geometrically modifying originals the composed originals being of different kinds, e.g. low- and high-resolution originals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32203Spatial or amplitude domain methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32203Spatial or amplitude domain methods
    • H04N1/32208Spatial or amplitude domain methods involving changing the magnitude of selected pixels, e.g. overlay of information or super-imposition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32203Spatial or amplitude domain methods
    • H04N1/32229Spatial or amplitude domain methods with selective or adaptive application of the additional information, e.g. in selected regions of the image
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/407Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for marking on special material
    • B41J3/4075Tape printers; Label printers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3269Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of machine readable codes or marks, e.g. bar codes or glyphs

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image data generator and an image data generation program which generate the image data of an image ornamented with other image easily. <P>SOLUTION: A user inputs the type of a bar code or the information expressed by a bar code. An image data generator generates a bar code image based on a user's input. The user specifies an image in which a bar code is embedded among existing images. A region in which other image (bar code) is embedded is defined in the existing image, and the image data generator generates a composite image where the bar code is arranged in the embedding region. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像データ作成装置及び画像データ作成プログラムに関するものであり、詳細には、他の画像で修飾された画像の画像データを作成する画像データ作成装置及び画像データ作成プログラムに関するものである。   The present invention relates to an image data creation device and an image data creation program, and more particularly to an image data creation device and an image data creation program for creating image data of an image modified with another image.

従来、種々の情報を記述するためにバーコードが用いられている。バーコードには、一方向のライン上の情報をバーコードリーダに読み込ませる一次元バーコードや、正方形内か長方形内の情報をバーコードリーダで読み込ませる二次元バーコードがある。一次元バーコードでは、様々な太さの細長い長方形のバーが平行に何本も並べられており、二次元バーコードでは長方形,正方形,多角形等のブロックが整然と並べられている。このようなバーコードは、少ない面積で多量の情報を記述することが可能であるという利点がある。しかしながら、バーコードに記述されている情報は、バーコードリーダで読み取らなければならず、人がバーコードを見ても何が記述されているかはわからない。よって、人が見たときには何ら意味を読み取れないバーやブロックの塊でしかなく、機械的なイメージが強く、おもしろみがない。そこで、これらのバーコードの周囲に飾りを付けたバーコードも提案されている(例えば、特許文献1参照)。
特開2006−127025号公報
Conventionally, barcodes are used to describe various information. Bar codes include a one-dimensional bar code that causes a bar code reader to read information on a line in one direction, and a two-dimensional bar code that causes a bar code reader to read information in a square or rectangle. In a one-dimensional barcode, a number of elongated rectangular bars of various thicknesses are arranged in parallel, and in a two-dimensional barcode, blocks such as rectangles, squares, polygons are arranged in an orderly manner. Such a barcode has an advantage that a large amount of information can be described with a small area. However, the information described in the bar code must be read by a bar code reader, and it is not known what is written even if a person looks at the bar code. Therefore, it is only a bar or block of blocks whose meaning cannot be read when viewed by a person, has a strong mechanical image, and is not interesting. In view of this, a barcode with a decoration around these barcodes has also been proposed (see, for example, Patent Document 1).
JP 2006-127025 A

しかしながら、バーコードに飾りを付ける場合には、バーコードリーダによる読み取りを妨げることのないようにしなければならないという制約がある。また、飾りを付けるのには、芸術的なセンスや絵を描く技術が必要であり、誰にでも簡単にできるわけではないという問題点がある。   However, when decorating a barcode, there is a restriction that reading by the barcode reader must not be hindered. In addition, there is a problem that artistic sense and art drawing techniques are necessary for decorating, and it is not easy for anyone to do.

本発明は、上述の問題点を解決するためになされたものであり、簡単に他の画像で修飾された画像の画像データを作成する画像データ作成装置及び画像データ作成プログラムを提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an image data creation device and an image data creation program for easily creating image data of an image modified with another image. And

上記課題を解決するため、請求項1に係る発明の画像データ作成装置では、複数の画像を既存画像として予め記憶した既存画像記憶手段と、前記既存画像に他の画像を埋め込む際に、他の画像を埋め込む領域を示す情報である埋込領域情報を前記既存画像ごとに記憶した埋込領域情報記憶手段と、前記既存画像記憶手段に記憶されている前記既存画像から、他の画像を埋め込む画像である埋込画像を指定する埋込画像指定手段と、前記埋込画像指定手段により指定された前記埋込画像に埋め込まれる画像を指定画像として指定する指定画像指定手段と、前記埋込画像指定手段により指定された前記埋込画像に対して前記埋込領域情報で指定されている領域である埋込領域に、前記指定画像指定手段により指定された前記指定画像を埋め込んで合成した合成画像の画像データを作成する合成画像データ作成手段とを備えている。   In order to solve the above-described problem, in the image data creation device according to the first aspect of the present invention, an existing image storage unit that stores a plurality of images in advance as existing images, and other images are embedded when other images are embedded in the existing images. An embedding area information storage unit storing embedding area information, which is information indicating an area in which an image is embedded, for each existing image, and an image in which another image is embedded from the existing image stored in the existing image storage unit Embedded image specifying means for specifying an embedded image, specified image specifying means for specifying an image embedded in the embedded image specified by the embedded image specifying means as a specified image, and the embedded image specifying Embedding the designated image designated by the designated image designating means in an embedding area that is designated by the embedding area information with respect to the embedding image designated by the means. And a synthetic image data generating means for generating image data of the form composite image.

また、請求項2に係る発明の画像データ作成装置では、請求項1に記載の発明の構成に加えて、バーコードを出力するためのバーコード画像を生成するバーコード画像生成手段を備え、前記指定画像指定手段は、前記バーコード画像生成手段により生成された前記バーコード画像を前記指定画像として指定可能であることを特徴とする。   In addition to the configuration of the invention according to claim 1, the image data creation device of the invention according to claim 2 further includes a barcode image generation means for generating a barcode image for outputting a barcode. The designated image designating means can designate the barcode image generated by the barcode image generating means as the designated image.

また、請求項3に係る発明の画像データ作成装置では、請求項1又は2に記載の発明の構成に加えて、前記合成画像データ作成手段により、前記埋込画像と前記指定画像とを合成する際に、前記指定画像を前記埋込領域の中で上下方向における上寄せ、中央寄せ及び下寄せのいずれか、並びに、左右方向における左寄せ、中央寄せ、右寄せ及び伸張のいずれかのうちの少なくとも一つを配置バランスとして選択する配置バランス選択手段と、前記合成画像データ作成手段は、前記配置バランス選択手段により選択された配置バランスにしたがって、前記埋込領域内に前記指定画像を配置して前記埋込画像と前記指定画像とを合成することを特徴とする。   According to a third aspect of the present invention, in addition to the configuration of the first or second aspect of the invention, the synthesized image data creating means synthesizes the embedded image and the designated image. At the time, the designated image is at least one of top-justified, center-justified, and bottom-justified in the vertical direction, and left-justified, center-justified, right-justified, and stretched in the left-right direction. An arrangement balance selection unit that selects one as an arrangement balance, and the composite image data generation unit arranges the designated image in the embedding area according to the arrangement balance selected by the arrangement balance selection unit. The embedded image and the designated image are synthesized.

また、請求項4に係る発明の画像データ作成装置では、請求項1乃至3のいずれかに記載の発明の構成に加えて、前記埋込領域のサイズに基づいて、前記指定画像を拡大又は縮小する指定画像拡大縮小手段を備えている。   According to a fourth aspect of the present invention, in addition to the configuration of the first aspect of the invention, the specified image is enlarged or reduced based on the size of the embedded region. Designated image enlargement / reduction means is provided.

また、請求項5に係る発明の画像データ作成装置では、請求項2に記載の発明の構成に加えて、前記埋込画像指定手段で埋込画像として指定可能な前記既存画像が、前記バーコードの形状に基づいて決定されることを特徴とする。   In addition to the configuration of the invention according to claim 2, in the image data creation device of the invention according to claim 5, the existing image that can be specified as an embedded image by the embedded image specifying means is the barcode. It is determined based on the shape of

また、請求項6に係る発明の画像データ作成装置では、請求項2又は5に記載の発明の構成に加えて、前記埋込画像指定手段で埋込画像として指定可能な前記既存画像が、バーコードの種類に基づいて決定されることを特徴とする。   Further, in the image data creation device of the invention according to claim 6, in addition to the configuration of the invention according to claim 2 or 5, the existing image that can be designated as an embedded image by the embedded image designating means is a bar code. It is determined based on the type of code.

また、請求項7に係る発明の画像データ作成装置では、請求項1乃至6のいずれかに記載の発明の構成に加えて、前記合成画像データ作成手段は、前記埋込領域の形状、及び、前記埋込領域の前記既存画像に対する配置方向に基づいて、前記指定画像を回転させることを特徴とする。   Moreover, in the image data creation device of the invention according to claim 7, in addition to the configuration of the invention according to any one of claims 1 to 6, the composite image data creation means includes a shape of the embedded region, and The designated image is rotated based on an arrangement direction of the embedded region with respect to the existing image.

また、請求項8に係る発明の画像データ作成装置では、請求項2,5及び6のいずれかに記載の発明の構成に加えて、前記バーコードが、細長い長方形の複数のバーが、長手方向を上下方向として平行となるように並べられた一次元バーコードである場合に、前記合成画像データ作成手段は、前記埋込領域内に前記指定画像である前記バーコード画像を配置して前記埋込画像と合成する際に、前記埋込領域の端まで前記バーを伸ばすことを特徴とする。   Further, in the image data creation device of the invention according to claim 8, in addition to the configuration of the invention according to any of claims 2, 5 and 6, the bar code includes a plurality of elongated rectangular bars in the longitudinal direction. Are the one-dimensional barcodes arranged parallel to each other in the vertical direction, the composite image data creating means arranges the barcode image as the designated image in the embedding area and The bar is extended to the end of the embedding area when combining with the embedded image.

また、請求項9に係る発明の画像データ作成装置では、請求項2,5,6及び8のいずれかに記載の発明の構成に加えて、前記バーコードは、第一の色の細長い長方形のバー及び第二の色の細長い長方形のバーが、長手方向を上下方向として平行となるように交互に並べられた一次元バーコードであり、前記埋込画像は、前記第一の色及び前記第二の色を少なくとも含む色の画素で構成されている場合に、前記合成画像データ作成手段は、前記埋込領域内に前記指定画像である前記バーコード画像を配置して前記埋込画像と合成する際に、前記第一の色のバーを前記埋込画像における前記第一の色の画素にぶつかるまで伸ばし、前記第二の色のバーを前記埋込画像における前記第二の色の画素にぶつかるまで伸ばすことを特徴とする。   Further, in the image data creation device of the invention according to claim 9, in addition to the configuration of the invention according to any one of claims 2, 5, 6 and 8, the bar code is an elongated rectangular shape of the first color. The bar and the elongated rectangular bar of the second color are one-dimensional barcodes alternately arranged so that the longitudinal direction is parallel to the vertical direction, and the embedded image includes the first color and the second color In the case where the composite image data creating means is composed of pixels of a color including at least two colors, the barcode image which is the designated image is arranged in the embedded region and combined with the embedded image The first color bar is extended until it hits the first color pixel in the embedded image, and the second color bar is extended to the second color pixel in the embedded image. It is characterized by extending until it hits.

また、請求項10に係る発明の画像データ作成装置では、請求項1乃至3、及び、5乃至9のいずれかに記載の発明の構成に加えて、前記埋込画像を前記指定画像のサイズに合わせて拡大又は縮小する埋込画像拡大縮小手段を備えている。   According to a tenth aspect of the present invention, in addition to the configuration according to any one of the first to third and fifth to ninth aspects, the embedded image is set to the size of the designated image. Embedded image enlarging / reducing means for enlarging or reducing the image is also provided.

また、請求項11に係る発明の画像データ作成装置では、請求項1乃至10のいずれかに記載の発明の構成に加えて、前記合成画像データ作成手段は、前記埋込領域に複数の前記指定画像を配置して前記埋込画像と合成することを特徴とする。   According to an eleventh aspect of the present invention, in addition to the configuration of the invention according to any one of the first to tenth aspects, the composite image data creating means includes a plurality of the designations in the embedded region. An image is arranged and synthesized with the embedded image.

また、請求項12に係る発明の画像データ作成装置では、請求項1乃至11のいずれかに記載の発明の構成に加えて、前記既存画像は、複数の前記埋込領域を備えていることを特徴とする。   Further, in the image data creation device of the invention according to claim 12, in addition to the configuration of the invention according to any one of claims 1 to 11, the existing image includes a plurality of the embedded regions. Features.

また、請求項13に係る発明の画像データ作成プログラムでは、請求項1乃至12のいずれかに記載の画像データ作成装置としてコンピュータを機能させることを特徴とする。   According to a thirteenth aspect of the present invention, an image data creation program causes a computer to function as the image data creation device according to any one of the first to twelfth aspects.

請求項1に係る発明の画像データ作成装置では、既存画像記憶手段に予め記憶されている既存画像を、指定画像として指定するだけで、既存画像に定められている埋込領域に指定画像を埋め込んで、合成画像を作成することができる。既存画像に対して埋込領域が決められているので、ユーザは既存画像のどの位置に指定画像を埋め込むか指定しなくてもよい。よって、より簡単に指定画像を既存画像で修飾することができる。   In the image data creation device according to the first aspect of the present invention, the designated image is embedded in the embedding area defined in the existing image simply by designating the existing image stored in the existing image storage means in advance as the designated image. Thus, a composite image can be created. Since the embedding area is determined for the existing image, the user does not need to specify at which position of the existing image the specified image is embedded. Therefore, the designated image can be modified with the existing image more easily.

また、請求項2に係る発明の画像データ作成装置では、請求項1に記載の発明の効果に加えて、バーコード画像を指定画像として扱うことができる。よって、既存画像の埋込領域にバーコード画像を埋め込んで合成画像を作成することができる。したがって、簡単にバーコードを既存画像で修飾することができる。   In addition, in the image data creation device of the invention according to claim 2, in addition to the effect of the invention of claim 1, a barcode image can be handled as a designated image. Therefore, a composite image can be created by embedding a barcode image in an embedding area of an existing image. Therefore, the barcode can be easily modified with the existing image.

また、請求項3に係る発明の画像データ作成装置では、請求項1又は2に記載の発明の効果に加えて、埋込領域内での指定画像の配置バランスを指定できるので、指定画像を修飾する自由度が増す。   In addition, in the image data creation device of the invention according to claim 3, in addition to the effect of the invention of claim 1 or 2, the arrangement balance of the designated image in the embedding area can be designated, so that the designated image is modified. More freedom to do so.

また、請求項4に係る発明の画像データ作成装置では、請求項1乃至3のいずれかに記載の発明の効果に加えて、埋込領域のサイズに基づいて指定画像が拡大又は縮小されるので、埋込領域に対して指定画像が小さすぎたり、埋込領域から指定画像がはみ出たりすることがない。   In addition, in the image data creation device of the invention according to claim 4, in addition to the effect of the invention according to any one of claims 1 to 3, the designated image is enlarged or reduced based on the size of the embedded region. The designated image is not too small for the embedding area and the designated image does not protrude from the embedding area.

また、請求項5に係る発明の画像データ作成装置では、請求項2に記載の発明の効果に加えて、バーコードの形状に基づいて、埋込画像として指定可能な既存画像が決定されるので、バーコードの形状に合った埋込領域をもつ既存画像から埋込画像を選択することができる。   Further, in the image data creation device of the invention according to claim 5, in addition to the effect of the invention of claim 2, an existing image that can be designated as an embedded image is determined based on the shape of the barcode. The embedded image can be selected from existing images having an embedded area that matches the shape of the barcode.

また、請求項6に係る発明の画像データ作成装置では、請求項2又は5に記載の発明の効果に加えて、バーコードの種類に基づいて、埋込画像として指定可能な既存画像を決定することができる。バーコードの種類によりバーコードの形状が決められているので、バーコードの形状に合った埋込領域をもつ既存画像から埋込画像を選択することができる。   In addition, in the image data creation device of the invention according to claim 6, in addition to the effect of the invention of claim 2 or 5, an existing image that can be designated as an embedded image is determined based on the type of barcode. be able to. Since the barcode shape is determined by the type of barcode, an embedded image can be selected from existing images having an embedded region that matches the barcode shape.

また、請求項7に係る発明の画像データ作成装置では、請求項1乃至6のいずれかに記載の発明の効果に加えて、埋込領域の形状、及び、埋込領域の既存画像に対する配置方向に基づいて指定画像が回転されるので、既存画像により表現される絵に馴染む方向で指定画像を配置することができる。   Further, in the image data creation device of the invention according to claim 7, in addition to the effect of the invention according to any one of claims 1 to 6, the shape of the embedded region and the arrangement direction of the embedded region with respect to the existing image Since the designated image is rotated based on the image, the designated image can be arranged in a direction familiar with the picture expressed by the existing image.

また、請求項8に係る発明の画像データ作成装置では、請求項2,5及び6のいずれかに記載の発明の効果に加えて、一次元バーコードのバーを埋込領域の端まで伸ばすことができるので、バーで埋込領域を埋め尽くすことができる。よって、バーコードを埋込画像により表現される絵に馴染ませることができる。   In addition, in the image data creation device of the invention according to claim 8, in addition to the effect of the invention of any one of claims 2, 5 and 6, the bar of the one-dimensional barcode is extended to the end of the embedded region. Therefore, the buried region can be filled with the bar. Therefore, the barcode can be adapted to the picture expressed by the embedded image.

また、請求項9に係る発明の画像データ作成装置では、請求項2,5,6及び8のいずれかに記載の発明の効果に加えて、一次元バーコードの第一の色のバーを、第一の色の画素にぶつかるまで伸ばし、第二の色のバーを第二の色の画素にぶつかるまで伸ばすことができるので、埋込画像におけるバーに続く領域をバーで埋め尽くすことができる。よって、バーコードを埋込画像により表現される絵に馴染ませることができる。特に、既存画像が第一の色及び第二の色のみで構成されている場合には、バーコードと既存画像が美しく馴染み、より多彩にバーコードを修飾する効果が得られる。   Further, in the image data creation device of the invention according to claim 9, in addition to the effect of the invention according to any of claims 2, 5, 6 and 8, the first color bar of the one-dimensional barcode is Since the second color bar can be extended until it hits the first color pixel, and the second color bar can be extended until it hits the second color pixel, the area following the bar in the embedded image can be filled with the bar. Therefore, the barcode can be adapted to the picture expressed by the embedded image. In particular, when the existing image is composed only of the first color and the second color, the barcode and the existing image are blended beautifully, and an effect of modifying the barcode more variously can be obtained.

また、請求項10に係る発明の画像データ作成装置では、請求項1乃至3、及び、5乃至9のいずれかに記載の発明の効果に加えて、指定画像のサイズに基づいて、埋込画像が指定画像のサイズに合わせて拡大又は縮小される。したがって、指定画像が埋込領域からはみ出たり、指定画像を埋め込んだ後の埋込領域に多量の隙間ができてしまったりすることがない。さらに指定画像の大きさに合わせることができるため指定画像の可視性、可読性が損なわれることがない。   In addition, in the image data creation device of the invention according to claim 10, in addition to the effect of the invention according to any one of claims 1 to 3 and 5 to 9, the embedded image is based on the size of the designated image. Are enlarged or reduced in accordance with the size of the designated image. Therefore, the designated image does not protrude from the embedding area, and a large amount of gaps are not formed in the embedding area after embedding the designated image. Furthermore, since the size of the designated image can be adjusted, the visibility and readability of the designated image are not impaired.

また、請求項11に係る発明の画像データ作成装置では、請求項1乃至10のいずれかに記載の発明の効果に加えて、埋込領域内に複数の画像を配置できるので、より多彩に指定画像を修飾することができる。   Further, in the image data creation device of the invention according to claim 11, in addition to the effect of the invention according to any one of claims 1 to 10, since a plurality of images can be arranged in the embedded region, more various designations can be made. The image can be modified.

また、請求項12に係る発明の画像データ作成装置では、請求項1乃至11のいずれかに記載の発明の効果に加えて、既存画像に複数の埋込領域が設けられているので、より多彩に指定画像を修飾することができる。   In addition, in the image data creation device of the invention according to claim 12, in addition to the effect of the invention according to any of claims 1 to 11, a plurality of embedded regions are provided in the existing image, so that there are more versatility. The specified image can be modified.

また、請求項13に係る発明の画像データ作成プログラムをコンピュータに実行させることにより、請求項1乃至12のいずれかに記載の画像データ作成装置と同様の効果を奏することができる。   Further, by causing a computer to execute the image data creation program of the invention according to claim 13, it is possible to achieve the same effect as the image data creation device according to any one of claims 1 to 12.

以下、本発明の一実施の形態について、図面を参照して説明する。なお、参照する図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載されている装置の構成、各種処理のフローチャートなどは、特に特定的な記載がない限り、それのみに限定する趣旨ではなく、単なる説明例である。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The drawings to be referred to are used for explaining the technical features that can be adopted by the present invention, and the configuration of the apparatus described, the flowcharts of various processes, etc., unless otherwise specified. It is not intended to be limited to that, but merely an illustrative example.

まず、図1を参照して、テープ印刷装置1の物理的構成について説明する。このテープ印刷装置1が本発明の「画像データ作成装置」に該当する。図1は、テープ印刷装置1のテープカセット収納部7の蓋を取り去った状態を示す平面図である。図1に示すように、テープ印刷装置1は、印刷媒体であるテープが巻回された周知のテープカセット(図示外)を収納する凹部であるテープカセット収納部7を後部(図中上部)に備え、前部(図中下部)には、複数のキー30が配列されたキーボード部3を備えている。キー30は、アルファベット、ひらがな、カタカナ、数字、記号等を入力するための文字キー、変換キー、及び印刷キー、キャンセルキー等の各種機能のコマンドを各々入力するための複数の機能キーから構成されている。さらに、テープ印刷装置1は、テープカセット収納部7とキーボード部3との間に液晶ディスプレイ4を備えている。この液晶ディスプレイ4には、印刷対象としてキーボード部3で入力された文字が表示されたり、各種設定を行う際の設定項目や選択肢が表示されたりする。   First, the physical configuration of the tape printer 1 will be described with reference to FIG. This tape printer 1 corresponds to the “image data creation device” of the present invention. FIG. 1 is a plan view showing a state in which the lid of the tape cassette storage unit 7 of the tape printer 1 is removed. As shown in FIG. 1, the tape printer 1 has a tape cassette storage portion 7, which is a recess for storing a well-known tape cassette (not shown) around which a tape as a printing medium is wound, at the rear portion (upper portion in the drawing). The keyboard part 3 in which a plurality of keys 30 are arranged is provided in the front part (lower part in the figure). The key 30 is composed of character keys for inputting alphabets, hiragana, katakana, numbers, symbols, etc., conversion keys, and a plurality of function keys for inputting various function commands such as a print key and a cancel key. ing. Further, the tape printer 1 includes a liquid crystal display 4 between the tape cassette storage unit 7 and the keyboard unit 3. The liquid crystal display 4 displays characters input from the keyboard unit 3 as a print target and setting items and options for performing various settings.

次に、図2を参照して、テープ印刷装置1の電気的構成について説明する。図2は、テープ印刷装置1の電気的構成を示すブロック図である。図2に示すように、テープ印刷装置1の制御構成は、制御基板上に形成される制御回路部10を核として構成されている。制御回路部10は、各機器を制御するCPU11、ROM12、CGROM13、RAM14及び入出力インターフェース17から構成され、これらはバス16によって相互に接続されている。入出力インターフェース17には、キーボード部3と、液晶ディスプレイ4に表示データを出力するためのビデオRAM(図示外)を有するディスプレイコントローラ(以下、「LCDC」という)と、サーマルヘッド5を駆動するための駆動回路25と、テープ送りモータ6を駆動するための駆動回路26とが各々接続されている。   Next, the electrical configuration of the tape printer 1 will be described with reference to FIG. FIG. 2 is a block diagram showing an electrical configuration of the tape printer 1. As shown in FIG. 2, the control configuration of the tape printer 1 is configured with a control circuit unit 10 formed on the control board as a core. The control circuit unit 10 includes a CPU 11, a ROM 12, a CGROM 13, a RAM 14, and an input / output interface 17 that control each device, and these are mutually connected by a bus 16. The input / output interface 17 is for driving a keyboard unit 3, a display controller (hereinafter referred to as “LCDC”) having a video RAM (not shown) for outputting display data to the liquid crystal display 4, and a thermal head 5. The drive circuit 25 and the drive circuit 26 for driving the tape feed motor 6 are connected to each other.

次に、図3乃至図5を参照して、テープ印刷装置1のROM12,CGROM13,RAM14に設けられている記憶エリアについて説明する。図3は、ROM12の構成を示す模式図であり、図4は、CGROM13の構成を示す模式図であり、図5は、RAM14の構成を示す模式図である。   Next, the storage areas provided in the ROM 12, CGROM 13, and RAM 14 of the tape printer 1 will be described with reference to FIGS. 3 is a schematic diagram showing the configuration of the ROM 12, FIG. 4 is a schematic diagram showing the configuration of the CGROM 13, and FIG. 5 is a schematic diagram showing the configuration of the RAM 14. As shown in FIG.

図3に示すように、ROM12には、プログラム記憶エリア121が設けられている。なお、ROM12には、図示しないその他の記憶エリアも設けられている。プログラム記憶エリア121には、キーボード部3から入力された文字のコードデータに対応させてLCDC24を制御する表示駆動制御プログラム,印刷バッファ141(図5参照)のデータを読み出してサーマルヘッド5やテープ送りモータ6を駆動する印刷駆動制御プログラム,印刷媒体であるテープのテープ幅に応じて印刷する文字やブロックの行数を調整して印刷を行うテープ印刷制御プログラム,バーコードイメージを生成したり、本発明の要部であるバーコードと埋込画像との合成を行ったりする画像データ作成プログラム,その他、テープ印刷装置1の制御上必要な各種のプログラムが格納されている。   As shown in FIG. 3, the ROM 12 is provided with a program storage area 121. The ROM 12 is also provided with other storage areas (not shown). In the program storage area 121, the display drive control program for controlling the LCDC 24 corresponding to the character code data input from the keyboard unit 3 and the data in the print buffer 141 (see FIG. 5) are read out and the thermal head 5 or tape feed is read. A print drive control program for driving the motor 6, a tape print control program for performing printing by adjusting the number of lines of characters and blocks to be printed according to the tape width of the tape that is the print medium, An image data creation program for synthesizing a barcode and an embedded image, which is a main part of the invention, and other various programs necessary for controlling the tape printer 1 are stored.

そして、図4に示すように、CGROM13には、フォント記憶エリア131,既存画像情報記憶エリア132が設けられている。なお、CGROM13には、図示しないその他の記憶エリアも設けられている。フォント記憶エリア131には、文字や記号のドットパターンデータが記憶されている。既存画像情報記憶エリア132には、バーコードが埋め込まれる画像である「既存画像」のドットパターン及び、後述する、バーコードが埋め込まれる領域である「埋込領域」に関する埋込領域情報が記憶される(図14参照)。   As shown in FIG. 4, the CGROM 13 is provided with a font storage area 131 and an existing image information storage area 132. The CGROM 13 is provided with other storage areas (not shown). The font storage area 131 stores dot pattern data of characters and symbols. The existing image information storage area 132 stores a dot pattern of an “existing image” that is an image in which a barcode is embedded, and embedding region information related to an “embedding region” that is an area in which the barcode is embedded, which will be described later. (See FIG. 14).

図5に示すように、RAM14には、入力バッファ140,印刷バッファ141,修飾有無記憶エリア142,上下指定記憶エリア143,左右指定記憶エリア144,埋込画像記憶エリア145,埋込画像サイズ記憶エリア146,埋込領域サイズ記憶エリア147,バーコードイメージ記憶エリア148,埋込画像イメージ記憶エリア149,合成画像イメージ記憶エリア150,印刷用イメージ記憶エリア151が設けられている。なお、RAM14には、図示しないその他の記憶エリアも設けられている。   As shown in FIG. 5, the RAM 14 includes an input buffer 140, a print buffer 141, a modification presence / absence storage area 142, an upper / lower designation storage area 143, a left / right designation storage area 144, an embedded image storage area 145, and an embedded image size storage area. 146, an embedded area size storage area 147, a barcode image storage area 148, an embedded image image storage area 149, a composite image image storage area 150, and a printing image storage area 151 are provided. The RAM 14 is also provided with other storage areas (not shown).

入力バッファ140には、印刷対象としてキーボード部3より入力された情報(例えば、文字、文字に関する情報、改行、バーコードに関する情報)が記憶される。なお、文字に関する情報とは、文字サイズや書体であり、バーコードに関する情報とは、例えば、バーコードの規格、バーコードの規格に伴う設定情報、バーコードで示す情報である。印刷バッファ141には、サーマルヘッド5を駆動させ印刷を行うための情報(例えば、印刷用のドットパターンや各ドットの形成エネルギー量である印加パルス数)が記憶される。   The input buffer 140 stores information (for example, information related to characters, characters, line feeds, and barcodes) input from the keyboard unit 3 as a print target. The information related to characters is the character size and typeface, and the information related to barcode is, for example, the barcode standard, the setting information associated with the barcode standard, and the information indicated by the barcode. The print buffer 141 stores information for driving the thermal head 5 to perform printing (for example, a dot pattern for printing and the number of applied pulses that are the amount of energy for forming each dot).

修飾有無記憶エリア142には、バーコードの修飾をするか否かのユーザの指示を示す情報が記憶される。上下指定記憶エリア143には、埋込領域内において、バーコード画像を上下方向のどの位置(上寄せ、中央寄せ、下寄せ)に配置するかのユーザの指定を示す値が記憶される。左右指定記憶エリア144には、埋込領域内において、バーコード画像を左右方向のどの位置(左寄せ、中央寄せ、右寄せ、伸張)に配置するかのユーザの指定を示す値が記憶される。なお、「伸張」とは、いずれかの位置に寄せるのではなく、埋込領域の横方向にめいっぱいに伸張させるものである。この選択肢は、バーコードの規格が、横方向にのみ拡大させてもバーコードとしての機能が崩れないもの、つまり、一次元バーコードや、二次元バーコードでもPDF417のように一次元バーコードのスタック型のものに対してのみ選択可能となる。   In the modification presence / absence storage area 142, information indicating a user instruction as to whether or not to modify the barcode is stored. In the vertical designation storage area 143, a value indicating the user designation as to which position in the vertical direction (upper alignment, center alignment, lower alignment) the barcode image is arranged in the embedded region is stored. In the left / right designation storage area 144, a value indicating the designation of the user as to which position (left-justified, center-justified, right-justified, or expanded) in the left-right direction is stored in the embedded area. Note that the term “extension” is not to move to any position, but to extend fully in the lateral direction of the buried region. This option is a barcode standard that does not break down the barcode function even if it is expanded only in the horizontal direction. That is, a one-dimensional barcode or a two-dimensional barcode is a one-dimensional barcode such as PDF417. It can be selected only for the stack type.

埋込画像記憶エリア145には、既存画像のうち、バーコード画像が埋め込まれる画像である「埋込画像」として指定された既存画像を示す情報(既存画像の名称)が記憶される。埋込画像サイズ記憶エリア146には、ユーザが指定した埋込画像のサイズ(大,中,小)が記憶される。埋込領域サイズ記憶エリア147には、埋込画像とされた既存画像の埋込領域のサイズが既存画像情報記憶エリア132から読み出されて記憶される。バーコードイメージ記憶エリア148には、埋込画像に埋め込まれるバーコードのドットデータが記憶される。埋込画像イメージ記憶エリア149には、ユーザにより指定されたサイズの埋込画像のドットデータが記憶される。合成画像イメージ記憶エリア150には、埋込画像にバーコード画像が埋め込まれた「合成画像」のドットデータが記憶される。印刷用イメージ記憶エリア151には、印刷用に変換されたドットデータが記憶される。   The embedded image storage area 145 stores information (name of an existing image) indicating an existing image designated as an “embedded image” that is an image in which a barcode image is embedded among existing images. The embedded image size storage area 146 stores the size (large, medium, small) of the embedded image specified by the user. In the embedded area size storage area 147, the size of the embedded area of the existing image that is an embedded image is read from the existing image information storage area 132 and stored. The barcode image storage area 148 stores barcode dot data to be embedded in the embedded image. In the embedded image image storage area 149, dot data of an embedded image having a size designated by the user is stored. The composite image storage area 150 stores dot data of “composite image” in which a barcode image is embedded in an embedded image. The print image storage area 151 stores dot data converted for printing.

次に、図6乃至図13を参照して、本実施の形態のバーコードの修飾について説明する。本実施の形態では、予め記憶されている既存画像にバーコードを埋め込むことによりバーコードを修飾する。図6乃至図9は、既存画像101〜104の模式図である。図10乃至図13は、既存画像101〜104にバーコードを埋め込んだ合成画像201〜204の模式図である。なお、既存画像101の合成画像は201、既存画像102の合成画像は202、既存画像103の合成画像は203、既存画像104の合成画像は204である。   Next, with reference to FIG. 6 to FIG. 13, the modification of the barcode according to the present embodiment will be described. In the present embodiment, the barcode is modified by embedding the barcode in an existing image stored in advance. 6 to 9 are schematic diagrams of the existing images 101 to 104. FIG. 10 to 13 are schematic diagrams of composite images 201 to 204 in which barcodes are embedded in existing images 101 to 104. FIG. The composite image of the existing image 101 is 201, the composite image of the existing image 102 is 202, the composite image of the existing image 103 is 203, and the composite image of the existing image 104 is 204.

なお、図6乃至図9における紙面上下方向を既存画像の上下方向(縦方向)とし、紙面左右方向を既存画像の左右方向(横方向)とする。また、バーコードとして、本実施の形態では一次元バーコード及び二次元バーコードを用いる。バーコードは、長方形(正方形を含む)の形状をしており、上下左右が決められている。例えば、QRコードでは、略正方形の3つの角に切出シンボルがある。この3つの切出シンボルが、左下、左上、右上に位置する状態が、QRコードに決められている上下左右方向である。この上下方向を縦方向、左右方向を横方向といい、バーコードを決められた上下左右の方向にしたがって見た場合の上の辺を上辺、下の辺を下辺、左の辺を左辺、右の辺を右辺というものとする。   6 to 9 is the vertical direction of the existing image (vertical direction), and the horizontal direction of the paper is the horizontal direction of the existing image (horizontal direction). As the barcode, a one-dimensional barcode and a two-dimensional barcode are used in this embodiment. The bar code has a rectangular shape (including a square), and the top, bottom, left and right are determined. For example, in the QR code, there are cut-out symbols at three corners of a substantially square. The state in which these three cut-out symbols are located at the lower left, upper left, and upper right is the vertical and horizontal directions determined by the QR code. The vertical direction is called the vertical direction, the horizontal direction is called the horizontal direction, and the upper side is the upper side, the lower side is the lower side, the left side is the left side, The side of is called the right side.

また、本実施の形態では、埋込領域の形状を長方形としている。そして、埋込領域の方向は、既存画像の方向を基準としている。埋込領域は、必ずしも既存領域と同じ方向でなく、傾いている場合もある(図8,図9参照)。そこで、既存画像情報記憶エリア132には、埋込領域がどれだけ傾いているかの情報(角度)が、既存画像に対応させて記憶されている。この角度は、埋込領域の左下の角を基点とした回転角とし、−180度以上、180度未満とする。よって、傾いた埋込領域にバーコードが埋め込まれる場合には、バーコードにも同様の傾きが与えられることになる。なお、以下の説明においては、バーコードを基準とした相対的な位置を示す表現があった場合、特にことわりがない限り、バーコード自体が持つ上下左右方向を指すものとする。例えば、回転角度が90度(反時計回りに90度、図15参照)の埋込領域を考える。このような傾きのある埋込領域にバーコードを埋め込む場合、バーコードも反時計回りに90度回転されるので、「バーコードの上辺」は、既存画像の上辺及び下辺に対して90度の傾きとなり、既存画像の左辺及び右辺に平行となる。そして、埋込後のバーコードを見た場合には、左側の辺がバーコード自体の上辺となり、上辺側がバーコードの上側となる。よって、例えば、バーコードのバーを上方向へ伸ばすと言った場合には、既存画像に対しては左方向へ伸ばすことを意味する。   In the present embodiment, the shape of the buried region is a rectangle. Then, the direction of the embedded region is based on the direction of the existing image. The embedded region is not necessarily in the same direction as the existing region, and may be inclined (see FIGS. 8 and 9). Therefore, information (angle) indicating how much the embedding region is tilted is stored in the existing image information storage area 132 in association with the existing image. This angle is a rotation angle with the lower left corner of the embedded region as a base point, and is not less than −180 degrees and less than 180 degrees. Therefore, when the barcode is embedded in the inclined embedding area, the same inclination is given to the barcode. In the following description, when there is an expression indicating a relative position with respect to the barcode, the vertical and horizontal directions of the barcode itself are indicated unless otherwise specified. For example, consider an embedded region having a rotation angle of 90 degrees (90 degrees counterclockwise, see FIG. 15). When embedding a barcode in such an inclined embedding area, the barcode is also rotated 90 degrees counterclockwise, so the “upper side of the barcode” is 90 degrees with respect to the upper and lower sides of the existing image. It becomes an inclination and is parallel to the left and right sides of the existing image. When the barcode after embedding is viewed, the left side is the upper side of the barcode itself, and the upper side is the upper side of the barcode. Therefore, for example, when it is said that the bar of the barcode is extended upward, it means that the existing image is extended leftward.

図6乃至図13に示すように、既存画像101〜104には、バーコードを埋め込む領域である埋込領域111〜114が設けられている。図6乃至図13では、明確化のために点線で埋込領域111〜114を示している。点線の長方形内の領域が埋込領域である。図6に示す、魚の絵の既存画像101では、魚の胴体部分に埋込領域111が設けられている。この埋込領域111は傾きは0度であり、縦横比が1:約1.1のやや縦長の長方形である。また、図7に示す、カメの絵の既存画像102では、カメの甲羅部分に埋込領域112が設けられている。埋込領域112は、傾き0度の近正方形である。また、図8に示す、とんぼの絵の既存画像103では、とんぼの胴体部分に埋込領域113が設けられている。埋込領域113は、傾き90度の縦横比が1:約5.5の横長の長方形である。また、図9に示す、ピアノの絵の既存画像104では、ピアノの鍵盤部分に埋込領域114が設けられている。埋込領域114は、−25度の縦横比1:約5.4の横長の長方形である。なお、埋込領域の縦の長さ及び横の長さは、既存画像に対応させて既存画像情報記憶エリア132に記憶されている。   As shown in FIGS. 6 to 13, the existing images 101 to 104 are provided with embedded regions 111 to 114 that are regions for embedding barcodes. In FIGS. 6 to 13, the buried regions 111 to 114 are indicated by dotted lines for the sake of clarity. The area within the dotted rectangle is the embedded area. In an existing image 101 of a fish picture shown in FIG. 6, an embedded region 111 is provided in the body of the fish. The buried region 111 is a slightly elongated rectangle having an inclination of 0 degree and an aspect ratio of 1: 1.1. Further, in the existing image 102 of the turtle picture shown in FIG. 7, an embedded region 112 is provided in the turtle shell. The buried region 112 is a near square with an inclination of 0 degree. In the existing image 103 of the dragonfly picture shown in FIG. 8, an embedded region 113 is provided in the body of the dragonfly. The buried region 113 is a horizontally long rectangle with an aspect ratio of 1:90 at an inclination of 90 degrees. Further, in the existing image 104 of the piano picture shown in FIG. 9, an embedding area 114 is provided in the keyboard portion of the piano. The buried region 114 is a horizontally long rectangle having an aspect ratio of -25 degrees 1: about 5.4. The vertical length and the horizontal length of the embedding area are stored in the existing image information storage area 132 in correspondence with the existing image.

そして、これらの既存画像101〜104の埋込領域111〜114にバーコードが埋め込まれると、図10乃至図13に示すような合成画像201〜204になる。なお、本実施の形態では、一次元バーコードが配置された場合に、一次元バーコードのバーを伸張させる場合がある。一次元バーコードは、2つの色で構成される。例えば、一次元バーコードでは、細長い長方形の黒色のバーと、同じく細長い長方形の白色のバーとが交互に隙間なく配置される。これらのバーは、バーの長手方向をバーコードの縦方向として配置される。バーの幅(長方形の横方向の長さ)は様々であり、この幅によりバーコードの埋込情報を識別させるものである。バーを伸張する場合には、一段階目としては「埋込領域の端まで」伸張される。そして、二段階目として、「黒色のバーは黒色の画素に出会うまで、白色のバーは白色の画素に出会うまで」伸張される。図10に示す例では、二段階目ま
で伸張されており、魚の輪郭線までバーが伸張されている。一次元バーコードであれば、一段階目までは必ず伸張されるが、二段階目まで伸張させるか否かは、既存画像ごとに決められており、既存画像に対応させて既存画像情報記憶エリア132に記憶されている。
When barcodes are embedded in the embedding areas 111 to 114 of these existing images 101 to 104, composite images 201 to 204 as shown in FIGS. 10 to 13 are obtained. In the present embodiment, when a one-dimensional barcode is arranged, the bar of the one-dimensional barcode may be expanded. A one-dimensional barcode is composed of two colors. For example, in a one-dimensional barcode, elongated rectangular black bars and similarly elongated rectangular white bars are alternately arranged without gaps. These bars are arranged with the longitudinal direction of the bar as the longitudinal direction of the barcode. The width of the bar (the length of the rectangle in the horizontal direction) varies, and the bar code embedding information is identified by this width. When the bar is extended, the first step is to “extend to the end of the buried region”. Then, as a second stage, it is expanded “until the black bar meets the black pixel and the white bar meets the white pixel”. In the example shown in FIG. 10, the bar is extended up to the second stage, and the bar is extended to the outline of the fish. If it is a one-dimensional barcode, it will always be expanded up to the first stage, but whether to expand to the second stage is determined for each existing image, and the existing image information storage area corresponding to the existing image 132.

次に、図14及び図15を参照して、既存画像情報記憶エリア132及び既存画像について説明する。図14は、既存画像情報記憶エリア132に記憶されている1つの既存画像についてのデータ構成を示す模式図であり、図15は、既存画像103を例示して既存画像情報記憶エリア132に記憶されている座標を座標軸上に図示した説明図である。   Next, the existing image information storage area 132 and the existing image will be described with reference to FIGS. 14 and 15. FIG. 14 is a schematic diagram illustrating a data configuration of one existing image stored in the existing image information storage area 132. FIG. 15 illustrates the existing image 103 and is stored in the existing image information storage area 132. It is explanatory drawing which illustrated the coordinate which is shown on the coordinate axis.

図14に示すように、既存画像情報記憶エリア132には、1つの既存画像に対して、既存画像名,配置オフセット量(X座標及びY座標),埋込領域原点(X座標及びY座標),埋込領域中心点(X座標及びY座標),埋込領域角度,伸張可否情報,埋込領域形状,次フォント配置位置,ドットデータが記憶されている。図14に示す例を、XY座標に図示したものが図15の説明図である。既存画像は、文字や記号と同様に扱われる。文字や記号を印刷する際には、そのドットデータ(フォント)が、印刷領域の配置開始位置から順に配置される。なお、印刷領域のサイズや配置開始位置は、テープ幅や印刷行数に基づいて決定される。そして、最初に配置されるフォントは、配置開始位置を基準点0(0,0)として、オフセット量(X1,Y1)を加えた位置にフォントの左下が位置するようにドットデータが配置される。そして、次のフォントの基準点となる座標の座標は、次フォント配置位置(Xnext)に基づいて算出される。具体的には、現在のフォントの基準点のX座標にXnextが加算されて次フォントの基準点のX座標とされ、Y座標は現在のフォントの基準点のY座標と同じ値とされる。   As shown in FIG. 14, in the existing image information storage area 132, an existing image name, an arrangement offset amount (X coordinate and Y coordinate), and an embedding area origin (X coordinate and Y coordinate) for one existing image. , An embedding area center point (X coordinate and Y coordinate), embedding area angle, extension availability information, embedding area shape, next font arrangement position, and dot data are stored. The example shown in FIG. 14 is illustrated in the XY coordinates and is an explanatory diagram of FIG. Existing images are handled in the same way as characters and symbols. When printing characters and symbols, the dot data (font) is arranged in order from the arrangement start position of the print area. Note that the size of the print area and the arrangement start position are determined based on the tape width and the number of print lines. In the first font to be arranged, the dot data is arranged so that the lower left of the font is located at the position to which the offset amount (X1, Y1) is added with the arrangement start position as the reference point 0 (0, 0). . Then, the coordinates of the coordinates serving as the reference point of the next font are calculated based on the next font placement position (Xnext). Specifically, Xnext is added to the X coordinate of the reference point of the current font to obtain the X coordinate of the reference point of the next font, and the Y coordinate is set to the same value as the Y coordinate of the reference point of the current font.

また、埋込領域113の領域は、埋込領域原点(X2,Y2)、埋込領域中心点(X3,Y3)、埋込領域回転角で決定される。回転角度が設定されている場合において、バーコードを埋込領域内に配置する際には、バーコードの下辺を基準として上下左右の配置バランスが決められる。そして、伸張可否情報に基づいて、埋込領域に埋め込まれたバーコードを伸張するか否かが決定される。また、埋込領域形状には、埋込領域に埋め込むことが可能なバーコードの形状を示す情報が記憶される。バーコードには、近正方形のバーコード(例えば、QRコード)と、長方形のバーコード(例えば、一次元バーコード,スタック型の二次元バーコード)とがある。そこで、ここには、「近正方形のみ」,「長方形のみ」,「両方可」のいずれかの情報が記憶される。ただし、一次元バーコードであっても近正方形の場合がある。そのような場合は、近正方形とされる。   The area of the buried region 113 is determined by the buried region origin (X2, Y2), the buried region center point (X3, Y3), and the buried region rotation angle. When the rotation angle is set, when the barcode is arranged in the embedding area, the arrangement balance of the top, bottom, left, and right is determined based on the lower side of the barcode. Then, based on the extension availability information, it is determined whether or not to expand the barcode embedded in the embedding area. In the embedded region shape, information indicating the shape of a barcode that can be embedded in the embedded region is stored. The barcode includes a near square barcode (for example, a QR code) and a rectangular barcode (for example, a one-dimensional barcode, a stack type two-dimensional barcode). Therefore, information of “only near square”, “rectangle only”, or “both allowed” is stored here. However, even a one-dimensional barcode may be a near square. In such a case, it is a near square.

次に、図16乃至図22を参照して、テープ印刷装置1におけるバーコードの修飾処理について説明する。図16は、バーコードを埋込領域に配置する位置を指定する配置指定画面41の模式図である。図17は、埋込画像の選択及びサイズ指定をする埋込画像画面42の模式図である。図18は、CPU11が各種制御プログラムを実行することによるテープ印刷装置1の動作を示すメイン処理のフローチャートである。図19は、メイン処理の中で行われるバーコード入力編集処理のフローチャートであり、図20及び図21は、メイン処理及びバーコード入力編集処理の中で行われる埋込合成処理のフローチャートである。図22は、メイン処理の中で行われる印刷処理のフローチャートである。図23は、バーコード920の模試図であり、図24は、既存画像901の模式図であり、図25は、既存画像902の模式図である。   Next, barcode modification processing in the tape printer 1 will be described with reference to FIGS. FIG. 16 is a schematic diagram of an arrangement designation screen 41 for designating a position where a barcode is arranged in the embedding area. FIG. 17 is a schematic diagram of an embedded image screen 42 for selecting an embedded image and specifying a size. FIG. 18 is a flowchart of main processing showing the operation of the tape printer 1 by the CPU 11 executing various control programs. FIG. 19 is a flowchart of barcode input editing processing performed in the main processing, and FIGS. 20 and 21 are flowcharts of embedding synthesis processing performed in the main processing and barcode input editing processing. FIG. 22 is a flowchart of the printing process performed in the main process. FIG. 23 is a schematic diagram of the barcode 920, FIG. 24 is a schematic diagram of the existing image 901, and FIG. 25 is a schematic diagram of the existing image 902.

まず、図16及び図17を参照して、液晶ディスプレイ4に表示される配置指定画面41,埋込画像画面42について説明する。図16に示す配置指定画面41は、埋込領域のいずれの位置に配置するかを指定する画面である。図16に示すように、選択項目として「上下配置」及び「左右配置」が設けられている。図16に示す例では、「上下配置」が選択された状態となっており、選択肢の中の「上」が選択されている。なお、「修飾配置」の選択肢には「上寄せ」,「中央寄せ」,「下寄せ」の3つがある。ここで、キーボード部3に設けられている左矢印キー及び下矢印キーが押下されると、他の選択肢が1つずつ表示される。また、キーボード部3に設けられている上矢印キー及び下矢印キーが押下されると、選択が上下へ移動し、「左右配置」が選択される。「左右配置」では「左寄せ」,「中央寄せ」,「右寄せ」,「伸張」の4つが選択肢とされる。なお、「伸張」とは、埋込領域の左右方向に空き領域がある場合には、バーコードを左右方向にのみ伸張(拡大)させて、埋込領域の左右方向に空き領域ができないようにするものである。   First, the arrangement designation screen 41 and the embedded image screen 42 displayed on the liquid crystal display 4 will be described with reference to FIGS. 16 and 17. An arrangement designation screen 41 shown in FIG. 16 is a screen for designating which position in the embedding area to arrange. As shown in FIG. 16, “vertical arrangement” and “horizontal arrangement” are provided as selection items. In the example illustrated in FIG. 16, “up and down arrangement” is selected, and “upper” is selected from the options. Note that there are three choices of “modification arrangement”: “upper alignment”, “center alignment”, and “lower alignment”. Here, when the left arrow key and the down arrow key provided on the keyboard unit 3 are pressed, other options are displayed one by one. When the up arrow key and the down arrow key provided on the keyboard unit 3 are pressed, the selection moves up and down, and “left-right arrangement” is selected. In the “left and right arrangement”, four options of “left alignment”, “center alignment”, “right alignment”, and “extension” are available. “Extension” means that if there is an empty area in the left and right direction of the embedded area, the barcode is expanded (enlarged) only in the left and right direction so that there is no empty area in the left and right direction of the embedded area. To do.

次に、図17に示す埋込画像画面42について説明する。埋込画像画面42は、埋込画像の選択及びサイズ指定をする画面である。図17に示すように、埋込画像画面42には、選択項目として「埋込画像」及び「サイズ」が設けられている。図17に示す例では、「埋込画像」が選択された状態となっており、選択肢の中の「かめ」が選択されている。「埋込画像」では、既存画像情報記憶エリア132に記憶されている既存画像の既存画像名が選択肢とされる。なお、埋め込まれるバーコードの形状(近正方形か、近正方形でないか)に基づいて、既存画像情報記憶エリア132の埋込領域形状の情報が参照されて、埋め込まれるバーコードの形状を埋込可能な既存画像のみが抽出され、選択肢とされる。なお、ここでは、既存画像名を選択肢としたが、選択されている既存画像を画面上に表示させて、選択の参考とさせてもよい。また、カーソル選択可能に既存画像を表示させて、既存画像を選択させるようにしてもよい。そして、「サイズ」は、埋込画像を印刷領域に配置する際のサイズを指定するものであり、「大」,「中」,「小」が選択肢とされている。   Next, the embedded image screen 42 shown in FIG. 17 will be described. The embedded image screen 42 is a screen for selecting an embedded image and specifying a size. As shown in FIG. 17, the embedded image screen 42 is provided with “embedded image” and “size” as selection items. In the example shown in FIG. 17, “embedded image” is selected, and “Kame” is selected as an option. In “embedded image”, an existing image name of an existing image stored in the existing image information storage area 132 is an option. The shape of the embedded barcode can be embedded by referring to the information on the shape of the embedded area in the existing image information storage area 132 based on the shape of the barcode to be embedded (near square or not near square). Only existing existing images are extracted and selected. Although the existing image name is used as an option here, the selected existing image may be displayed on the screen as a reference for selection. Alternatively, an existing image may be displayed so that the cursor can be selected, and the existing image may be selected. “Size” designates the size when the embedded image is arranged in the print area, and “large”, “medium”, and “small” are options.

次に、図18乃至図22を参照して、メイン処理の動作を説明する。まず、文字を入力するための初期画面が液晶ディスプレイ4に表示され(S1)、キーボード部3からの入力が受け付けられる(S2)。受け付けられたキーが文字キー(例えば、アルファベットキー、数字キー、記号キー)又は編集キー(例えば、改行キーや削除キー)であれば(S3:YES)、入力バッファ140に対して、キーに応じた処理が行われ、入力バッファ140に記憶されている文書の編集が行われる(S11)。そして、液晶ディスプレイ4への表示が更新される(S12)。そして、S2へ戻る。   Next, the operation of the main process will be described with reference to FIGS. First, an initial screen for inputting characters is displayed on the liquid crystal display 4 (S1), and an input from the keyboard unit 3 is accepted (S2). If the accepted key is a character key (for example, alphabet key, number key, symbol key) or an editing key (for example, a line feed key or a delete key) (S3: YES), the input buffer 140 is in accordance with the key. Then, the document stored in the input buffer 140 is edited (S11). Then, the display on the liquid crystal display 4 is updated (S12). Then, the process returns to S2.

また、S2において受け付けられたキーが機能キーであれば(S4:YES)、機能メニュー画面(図示外)が液晶ディスプレイ4に表示され、選択された機能が受け付けられる(S21)。機能メニュー画面では、複数の機能が選択肢として表示されている。そこで、ユーザは、キーボード部3を操作し、使用したい機能を選択し、確定キーを押下する。この確定キーが押下された際に選択されている機能が、入力として受け付けられる。本実施の形態に関係する機能としては、「バーコード入力」及び「バーコード修飾」がある。「バーコード入力」が選択された場合には(S22:YES)、バーコード入力編集処理が行われる(S24、図19参照)。そして、S2へ戻り、キー入力の受付が行われる。また、「バーコード修飾」が選択された場合には(S23:YES)、埋込合成処理が行われる(S25)。そして、S2へ戻り、キー入力の受付が行われる。また、「バーコード入力」及び「バーコード修飾」以外の機能が選択された場合には(S23:NO)、その機能に応じたその他の処理が行われる(S26)。その他の処理については、本発明の要部ではないので省略する。そして、S2へ戻り、キー入力の受付が行われる。なお、バーコード入力編集処理(S24)及び埋込合成処理(S25)については、後に詳述する。   If the key accepted in S2 is a function key (S4: YES), a function menu screen (not shown) is displayed on the liquid crystal display 4 and the selected function is accepted (S21). On the function menu screen, a plurality of functions are displayed as options. Therefore, the user operates the keyboard unit 3 to select a function that the user desires to use, and presses the enter key. The function selected when the confirmation key is pressed is accepted as an input. Functions relating to the present embodiment include “barcode input” and “barcode modification”. When “barcode input” is selected (S22: YES), barcode input editing processing is performed (S24, see FIG. 19). And it returns to S2 and reception of key input is performed. If “barcode modification” is selected (S23: YES), an embedded synthesis process is performed (S25). And it returns to S2 and reception of key input is performed. When a function other than “barcode input” and “barcode modification” is selected (S23: NO), other processing corresponding to the function is performed (S26). The other processing is not a main part of the present invention and is omitted. And it returns to S2 and reception of key input is performed. The barcode input editing process (S24) and the embedding synthesis process (S25) will be described in detail later.

また、S2において受け付けられたキーが印刷キーであれば(S5:YES)、印刷処理が行われる(S27、図22参照)。そして、S2へ戻り、キー入力の受付が行われる。S2において受け付けられたキーが終了キーであれば(S6:YES)、テープ印刷装置1を終了させるための処理が行われて、電源がOFFされる。また、終了キーでもなければ(S6:NO)、その他の処理が行われる(S28)。その他の処理については、本発明の要部ではないので省略する。そして、S2へ戻り、キーの受付が行われる。なお、印刷処理については、図22を参照して後述する。   If the key received in S2 is a print key (S5: YES), a printing process is performed (S27, see FIG. 22). And it returns to S2 and reception of key input is performed. If the key received in S2 is an end key (S6: YES), processing for terminating the tape printer 1 is performed and the power is turned off. If it is not the end key (S6: NO), other processing is performed (S28). The other processing is not a main part of the present invention and is omitted. Then, the process returns to S2 to accept a key. The printing process will be described later with reference to FIG.

ここで、図19を参照して、バーコード入力編集処理について説明する。バーコード入力編集処理では、生成するバーコードに対する各種設定が行われる。まず、バーコード設定画面(図示外)が表示され、入力が受け付けられる(S41)。バーコード設定画面では、バーコードの規格、サイズ等を指定することができる。設定項目は、バーコードの規格に応じたものとなる。ここで指定された情報は、入力バッファ140に記憶される。次いで、バーコードデータ入力画面(図示外)が表示され、入力が受け付けられる(S42)。バーコードデータ入力画面では、バーコードで表現される文字、数字、記号などの情報(以下、「埋込情報」という)が入力される。入力された情報は、入力バッファ140に記憶される。そして、S41及びS42で入力された情報に基づいて、バーコードのドットデータ(バーコードイメージ)が生成され、バーコードイメージ記憶エリア148に記憶される(S43)。   Here, the barcode input editing process will be described with reference to FIG. In the barcode input editing process, various settings are made for the generated barcode. First, a barcode setting screen (not shown) is displayed and input is accepted (S41). On the barcode setting screen, the barcode standard, size, etc. can be specified. The setting items correspond to the barcode standard. The information specified here is stored in the input buffer 140. Next, a barcode data input screen (not shown) is displayed and input is accepted (S42). On the barcode data input screen, information such as characters, numbers, symbols and the like expressed by the barcode (hereinafter referred to as “embedded information”) is input. The input information is stored in the input buffer 140. Based on the information input in S41 and S42, barcode dot data (barcode image) is generated and stored in the barcode image storage area 148 (S43).

次いで、修飾有無指定画面(図示外)が表示され、入力が受け付けられ、修飾有無記憶エリア142に記憶される(S44)。修飾有無指定画面では、バーコードに修飾を施すか否かを選択する選択項目が設けられている。ここで、バーコード修飾をしない旨の選択がなされた場合には(S45:NO)、バーコードイメージ記憶エリア148に記憶されているバーコードイメージが表示用のデータに変換されて、液晶ディスプレイ4に表示される(S47)。そして、バーコード入力編集処理は終了して、メイン処理へ戻る。また、バーコード修飾をする旨の選択がなされた場合には(S45:YES)、埋込合成処理が行われる(S46、図20参照)。この埋込合成処理は、メイン処理のS25で行われる処理と同様の処理である。ここでは、バーコードに対して文字や画像を配置して、前述したような修飾をする処理が行われる。そして、埋込合成処理によりバーコードの修飾が行われたら、バーコードイメージ記憶エリア148に記憶されている修飾後のバーコードイメージが液晶ディスプレイ4に表示され(S47)、バーコード入力編集処理は終了して、メイン処理へ戻る。   Next, a modification presence / absence designation screen (not shown) is displayed, input is accepted, and stored in the modification presence / absence storage area 142 (S44). On the modification presence / absence designation screen, a selection item for selecting whether or not to modify the barcode is provided. If it is selected that the barcode is not modified (S45: NO), the barcode image stored in the barcode image storage area 148 is converted into display data, and the liquid crystal display 4 is displayed. (S47). Then, the barcode input editing process ends, and the process returns to the main process. Further, when the selection for barcode modification is made (S45: YES), the embedding synthesis process is performed (S46, see FIG. 20). This embedded synthesis process is the same as the process performed in S25 of the main process. Here, characters and images are arranged on the barcode and the above-described modification is performed. When the barcode is modified by the embedded synthesis process, the modified barcode image stored in the barcode image storage area 148 is displayed on the liquid crystal display 4 (S47), and the barcode input editing process is performed. End and return to the main process.

次に、図20及び図21を参照して、埋込合成処理について説明する。まず、配置指定画面41(図16参照)が表示され、埋込領域へのバーコードの配置位置の指定が受け付けられる(S51)。選択された位置を示す値が上下指定記憶エリア143及び左右指定記憶エリア144に記憶される。そして、バーコードの形状が取得される(S52)。具体的には、バーコードイメージ記憶エリア148に記憶されているバーコードの縦横の長さが取得され、縦横の長さの比(縦の長さ÷横の長さ)が算出される。この比が0.9以上、1.1以下であれば「近正方形」とされ、それ以外では「長方形」とされる。そして、形状が「近正方形」であれば(S53:YES)、「近正方形」用の埋込画像画面42が表示され、入力が受け付けられる(S54)。具体的には、既存画像情報記憶エリア132の埋込領域形状の情報が参照されて、「近正方形」のバーコードの形状を埋込可能な既存画像のみが抽出される。そして、抽出された既存画像が選択肢とされた埋込画像画面42が液晶ディスプレイ4に表示される。そして、選択された埋込画像名が埋込画像記憶エリア145に記憶され、選択されたサイズを示す値が埋込画像サイズ記憶エリア146に記憶される。また、形状が「近正方形」でなく「長方形」であれば(S53:NO)、「長方形」用の埋込画像画面42が表示され、入力が受け付けられる(S55)。具体的には、既存画像情報記憶エリア132の埋込領域形状の情報が参照されて、「長方形」のバーコードの形状を埋込可能な既存画像のみが抽出される。そして、抽出された既存画像が選択肢とされた埋込画像画面42が液晶ディスプレイ4に表示される。そして、選択された埋込画像名が埋込画像記憶エリア145に記憶され、選択されたサイズを示す値が埋込画像サイズ記憶エリア146に記憶される。   Next, the embedding synthesis process will be described with reference to FIGS. First, the arrangement designation screen 41 (see FIG. 16) is displayed, and designation of the arrangement position of the barcode in the embedding area is accepted (S51). A value indicating the selected position is stored in the up / down designation storage area 143 and the left / right designation storage area 144. Then, the barcode shape is acquired (S52). Specifically, the vertical and horizontal lengths of the barcode stored in the barcode image storage area 148 are acquired, and the ratio of the vertical and horizontal lengths (vertical length ÷ horizontal length) is calculated. If this ratio is 0.9 or more and 1.1 or less, it is a “near square”, otherwise it is a “rectangular”. If the shape is “near square” (S53: YES), the embedded image screen 42 for “near square” is displayed and input is accepted (S54). Specifically, the information on the shape of the embedding area in the existing image information storage area 132 is referred to, and only the existing image in which the “near square” barcode shape can be embedded is extracted. Then, an embedded image screen 42 in which the extracted existing image is an option is displayed on the liquid crystal display 4. The selected embedded image name is stored in the embedded image storage area 145, and a value indicating the selected size is stored in the embedded image size storage area 146. If the shape is not “near square” but “rectangular” (S53: NO), the embedded image screen 42 for “rectangular” is displayed and input is accepted (S55). Specifically, the information of the embedding area shape in the existing image information storage area 132 is referred to, and only the existing image in which the “rectangular” barcode shape can be embedded is extracted. Then, an embedded image screen 42 in which the extracted existing image is an option is displayed on the liquid crystal display 4. The selected embedded image name is stored in the embedded image storage area 145, and a value indicating the selected size is stored in the embedded image size storage area 146.

そして、埋込画像記憶エリア145に記憶されている既存画像名の既存画像のドットデータが既存画像情報記憶エリア132から参照され、埋込画像サイズ記憶エリア146で指定されたサイズで生成され、埋込画像イメージ記憶エリア149に記憶される(S56)。なお、本実施の形態では、サイズが「小」であれば、既存画像情報記憶エリア132のドットデータのままであり、「中」であれば1.5倍、「大」であれば2倍とする。そして、既存画像情報記憶エリア132の埋込領域原点の座標,埋込領域中心点の座標,埋込領域回転角に基づいて埋込領域のサイズが算出される(S57)。このサイズは、埋込画像サイズ記憶エリア146に記憶されている値が示すサイズが「小」の場合、つまり、ドットデータの等倍である場合の埋込領域のサイズとなる。そこで、埋込画像のサイズに応じて実際のサイズが算出され、埋込領域サイズ記憶エリア147に記憶される。ここでは、縦の辺及び横の辺のドット数が埋込領域のサイズとされる。   Then, the dot data of the existing image with the existing image name stored in the embedded image storage area 145 is referred to from the existing image information storage area 132, generated at the size specified in the embedded image size storage area 146, and embedded. It is stored in the embedded image storage area 149 (S56). In this embodiment, if the size is “small”, the dot data in the existing image information storage area 132 remains as it is, “medium” is 1.5 times, and “large” is twice. And Then, the size of the embedding area is calculated based on the coordinates of the embedding area origin, the coordinates of the embedding area center point, and the embedding area rotation angle in the existing image information storage area 132 (S57). This size is the size of the embedding region when the size indicated by the value stored in the embedding image size storage area 146 is “small”, that is, when it is the same size as the dot data. Therefore, the actual size is calculated according to the size of the embedded image and stored in the embedded region size storage area 147. Here, the number of dots on the vertical and horizontal sides is the size of the embedding area.

次いで、バーコードイメージ記憶エリア148に記憶されているバーコードイメージが埋込領域に入るか否かの判断が行われる(S58)。バーコードイメージからバーコードの縦及び横のドット数が取得され、埋込領域サイズと比較される。なお、ここで、バーコードの縦サイズ(縦のドット数)及び横サイズ(横のドット数)は、バーコードイメージ記憶エリア148に設けられた記憶エリアに記憶される。埋込領域サイズよりもバーコードの縦横のサイズが小さければ、入ると判断される(S58:YES)。また、バーコードの縦横のサイズの方が大きい場合には、バーコードを可能な限り縮小した場合のサイズを算出し、この縮小後のサイズと埋込領域のサイズとが比較される。そして、バーコードが埋込領域に入らない場合には(S58:NO)、エラー処理が行われ(S69)、埋込合成処理は終えられる。   Next, it is determined whether or not the barcode image stored in the barcode image storage area 148 enters the embedding area (S58). The number of vertical and horizontal dots of the barcode is obtained from the barcode image and compared with the size of the embedded region. Here, the vertical size (the number of vertical dots) and the horizontal size (the number of horizontal dots) of the barcode are stored in a storage area provided in the barcode image storage area 148. If the vertical and horizontal sizes of the barcode are smaller than the embedded area size, it is determined that the barcode is entered (S58: YES). When the vertical and horizontal sizes of the barcode are larger, the size when the barcode is reduced as much as possible is calculated, and the reduced size is compared with the size of the embedded region. If the barcode does not enter the embedding area (S58: NO), error processing is performed (S69), and the embedding synthesis process is terminated.

そして、バーコードが埋込領域に入る場合には(S58:YES)、埋込領域のサイズに合わせて、バーコードイメージが相似形で拡大又は縮小される(S59)。ここでは、バーコードイメージの縦サイズと横サイズとの関係、及び、埋込領域の縦サイズと横サイズとの関係に基づいて、バーコードが埋め込み領域内に収まるように拡大/縮小率が決定される。例えば、横サイズを基準にする場合には、「拡大/縮小率=埋込領域の横サイズ÷バーコードイメージの横サイズ」で算出される。   If the barcode enters the embedded area (S58: YES), the barcode image is enlarged or reduced in a similar manner in accordance with the size of the embedded area (S59). Here, based on the relationship between the vertical size and horizontal size of the barcode image and the relationship between the vertical size and horizontal size of the embedding area, the enlargement / reduction ratio is determined so that the barcode fits in the embedding area. Is done. For example, when the horizontal size is used as a reference, it is calculated as “enlargement / reduction ratio = horizontal size of the embedded area ÷ horizontal size of the barcode image”.

ここで、図23乃至図25を参照して、バーコードイメージの縦サイズと横サイズとの関係、及び、埋込領域の縦サイズと横サイズとの関係について説明する。まず、図23に示すバーコード920のように、バーコードイメージの縦サイズが横サイズよりも小さい場合(横長のバーコード)を考える。図24に示す既存画像901の埋込領域911のように、埋込領域の縦サイズが横サイズよりも大きい場合(縦長の領域)には、横サイズが基準とされる。また、埋込領域が正方形である場合にも、横サイズが基準とされる。これは、縦サイズを基準としてしまうと横方向にバーコードがはみ出てしまうためである。また、図25に示す既存画像902の埋込領域912のように、埋込領域の縦サイズが横サイズよりも小さい場合(横長の領域)には、埋込領域の縦横比及びバーコードイメージの縦横比が算出され、比較される。例えば、「縦横比=縦サイズ÷横サイズ」とすると、図23に示したバーコード920では、縦横比は1/2であり、図25に示した既存画像902の埋込領域912は、3/8である。このように、バーコードイメージの縦横比が埋込領域の縦横比よりも大きければ、つまり、埋込領域のほうがバーコードイメージよりも横方向に細長ければ、縦サイズが基準とされる。横サイズを基準とすると、縦方向にバーコードがはみ出てしまうためである。バーコードイメージの縦横比が埋込領域の縦横比よりも大きくなければ、横サイズが基準とされる。   Here, the relationship between the vertical size and the horizontal size of the barcode image and the relationship between the vertical size and the horizontal size of the embedded region will be described with reference to FIGS. First, consider a case in which the vertical size of the barcode image is smaller than the horizontal size (horizontal barcode) as in the barcode 920 shown in FIG. When the vertical size of the embedded region is larger than the horizontal size (vertically long region) as in the embedded region 911 of the existing image 901 shown in FIG. 24, the horizontal size is used as a reference. Also, when the embedded region is a square, the horizontal size is used as a reference. This is because if the vertical size is used as a reference, the barcode protrudes in the horizontal direction. In addition, when the vertical size of the embedded region is smaller than the horizontal size (horizontal region) as in the embedded region 912 of the existing image 902 shown in FIG. 25, the aspect ratio of the embedded region and the barcode image An aspect ratio is calculated and compared. For example, if “aspect ratio = vertical size ÷ horizontal size”, the barcode 920 shown in FIG. 23 has an aspect ratio of ½, and the embedded area 912 of the existing image 902 shown in FIG. / 8. As described above, if the aspect ratio of the barcode image is larger than the aspect ratio of the embedded area, that is, if the embedded area is narrower in the horizontal direction than the barcode image, the vertical size is used as a reference. This is because the bar code protrudes in the vertical direction based on the horizontal size. If the aspect ratio of the barcode image is not larger than the aspect ratio of the embedded area, the horizontal size is used as a reference.

次に、バーコードイメージの縦サイズが横サイズと同じである場合(正方形のバーコード)を考える。この場合には、埋込領域の縦サイズが横サイズよりも大きい場合には、横サイズが基準とされる。また、埋込領域の縦サイズが横サイズよりも小さい場合には、縦サイズが基準とされる。   Next, consider a case where the vertical size of the barcode image is the same as the horizontal size (square barcode). In this case, when the vertical size of the embedded region is larger than the horizontal size, the horizontal size is used as a reference. When the vertical size of the embedded region is smaller than the horizontal size, the vertical size is used as a reference.

次に、バーコードイメージの縦サイズが横サイズよりも大きい場合(縦長のバーコード)を考える。ここでは、埋込領域の縦サイズが横サイズよりも大きい場合(縦長の領域)には、埋込領域の縦横比及びバーコードイメージの縦横比が算出され、比較される。例えば、「縦横比=縦サイズ÷横サイズ」とすると、バーコードイメージの縦横比が埋込領域の縦横比よりも大きければ、縦サイズが基準とされる。それ以外では横サイズが基準とされる。また、埋込領域が正方形である場合には、縦サイズが基準とされる。また、埋込領域の縦サイズが横サイズよりも小さい場合(横長の領域)には、縦サイズが基準とされる。   Next, consider the case where the vertical size of the barcode image is larger than the horizontal size (vertical barcode). Here, when the vertical size of the embedding area is larger than the horizontal size (vertically long area), the aspect ratio of the embedding area and the aspect ratio of the barcode image are calculated and compared. For example, if “aspect ratio = vertical size ÷ horizontal size”, if the aspect ratio of the barcode image is larger than the aspect ratio of the embedded area, the vertical size is used as a reference. Otherwise, the horizontal size is the standard. When the embedded region is a square, the vertical size is used as a reference. In addition, when the vertical size of the embedded region is smaller than the horizontal size (horizontal region), the vertical size is used as a reference.

次いで、埋込画像とバーコードとが合成される(S60)。ここでは、埋込画像イメージ記憶エリア149に記憶されている埋込画像イメージの埋込領域に、バーコードイメージ記憶エリア148に記憶されているドットイメージが、上下指定記憶エリア143及び左右指定記憶エリア144に記憶されている配置位置に基づいて書き込まれる。なお、左右指定記憶エリア144に「伸張」が記憶されており、S59において相似形に拡大又は縮小されたバーコードイメージの横サイズが、埋込領域の横サイズよりも小さい場合には、バーコードの横サイズが埋込領域の横サイズとなるように、バーコードイメージが横方向にのみ拡大された後に、埋込画像のドットイメージと合成される。つまり、相似形に拡大又は縮小されたバーコードイメージを、そのまま埋込領域に埋め込むと、横方向に隙間ができてしまう場合には、隙間がなくなるように拡大される。「伸張」が記憶されているのは、一次元バーコードや、二次元バーコードでもPDF417のように一次元バーコードのスタック型のものであり、横方向に伸張可能なバーコードであるので、このような横方向のみへの拡大を行うことができる。   Next, the embedded image and the barcode are synthesized (S60). Here, the dot image stored in the barcode image storage area 148 is embedded in the embedding area of the embedding image image stored in the embedding image image storage area 149, and the upper and lower designation storage area 143 and the left and right designation storage area. It is written based on the arrangement position stored in 144. If “extension” is stored in the left / right designation storage area 144 and the horizontal size of the barcode image enlarged or reduced to a similar shape in S59 is smaller than the horizontal size of the embedding area, the barcode is displayed. After the barcode image is enlarged only in the horizontal direction so that the horizontal size of the embedded image becomes the horizontal size of the embedded region, it is synthesized with the dot image of the embedded image. In other words, if a barcode image enlarged or reduced in a similar shape is embedded in the embedding area as it is, if a gap is created in the horizontal direction, the barcode image is enlarged so that there is no gap. “Extension” is stored as a one-dimensional barcode or a two-dimensional barcode is a stack type of one-dimensional barcode such as PDF417, and is a barcode that can be expanded in the horizontal direction. Such a lateral expansion can be performed only.

次いで、バーコードが一次元バーコードであるか否かの判断が行われる(S61)。一次元バーコードでなければ(S61:NO)、埋込合成処理は終了される。また、一次元バーコードであれば(S61:YES)、バーコードのバーを伸張させるための処理が行われる(S62〜S65)。まず、埋込領域において、縦方向に空き領域があるか否かの判断が行われる(S62)。S60において、バーコードを拡大した際に、バーコードの縦サイズと埋込領域の縦サイズとが等しくなければ、バーコードの縦サイズの方が小さく、空き領域が発生している(S62:YES)。そこで、バーが埋込領域いっぱいまで伸張される(S63)。例えば、回転角度が0度の場合、埋込領域内で、黒色のバーのX座標と同じX座標のドットの色が黒色とされる。なお、空き領域がない場合には(S62:NO)、伸張する必要はないので伸張の処理(S63)は行われない。   Next, it is determined whether the barcode is a one-dimensional barcode (S61). If it is not a one-dimensional barcode (S61: NO), the embedding synthesis process is terminated. If the barcode is a one-dimensional barcode (S61: YES), processing for expanding the barcode bar is performed (S62 to S65). First, it is determined whether or not there is an empty area in the vertical direction in the embedded area (S62). In S60, when the barcode is enlarged, if the vertical size of the barcode and the vertical size of the embedding area are not equal, the vertical size of the barcode is smaller and a free area is generated (S62: YES). ). Therefore, the bar is expanded to fill the embedded region (S63). For example, when the rotation angle is 0 degree, the color of the dot having the same X coordinate as the X coordinate of the black bar is black in the embedded region. If there is no free space (S62: NO), the decompression process (S63) is not performed because it is not necessary to decompress.

次いで、既存画像情報記憶エリア132の伸張可否情報が参照され、埋込領域外に伸張可能な埋込画像であるか否かの判断が行われる(S64)。「可」とされていれば(S64:YES)、バーが伸張される(S65)。例えば、回転角度が0度の場合、一次元バーコードの黒色のバーの上端のドットの座標を(xb,yb)とすると、(xb,yb+1)のドットの色が黒でなく白であれば、黒に変更される。そして、(xb,yb+2)のドットに対しても、白であれば黒に変更される。このようにして、黒色のバーと同じx座標のドットが、バーの上方向に探索され、白であれば黒に変更される。そして、黒のドットが探索されたら、そのドットは黒のままとし、探索は中止される。また、同様に、黒色のバーの下端のドットについては、下方向に探索が行われ、白であれば黒に変更される。この処理は、全ての黒色のバーのx座標について行われる。また、白色のバーに対しても同様の処理が行われる。白色のバーについては、探索されたドットが黒であれば白に変更され、白のドットが探索されたら探索は終了される。なお、「不可」とされていれば(S64:NO)、バーの伸張は行われずに、埋込合成処理は終了される。   Next, the extension availability information in the existing image information storage area 132 is referred to, and it is determined whether or not the embedded image can be extended outside the embedded area (S64). If “Yes” is set (S64: YES), the bar is expanded (S65). For example, if the rotation angle is 0 degree and the coordinates of the dot at the upper end of the black bar of the one-dimensional barcode are (xb, yb), and the dot color of (xb, yb + 1) is not black but white, Is changed to black. The dot of (xb, yb + 2) is also changed to black if white. In this way, a dot having the same x coordinate as that of the black bar is searched in the upward direction of the bar, and if it is white, it is changed to black. When a black dot is searched, the dot remains black and the search is stopped. Similarly, the dot at the lower end of the black bar is searched downward, and if it is white, it is changed to black. This process is performed for the x coordinates of all black bars. The same process is performed for the white bar. The white bar is changed to white if the searched dot is black, and the search is terminated when the white dot is searched. If “impossible” is set (S64: NO), the embedding synthesis process is terminated without performing the extension of the bar.

以上のようにして、埋込合成処理では、バーコードを埋込画像の埋込領域に埋め込むことにより、バーコードを修飾することができる。よって、画像データ作成装置では、既存画像の埋込領域にバーコードを埋め込んだ合成画像を作成することができる。さらに、作成された合成画像を液晶ディスプレイ4に表示させたり、印刷したりすることができる。よって、ユーザは、既存画像から埋込画像を選択し、配置位置を選択するのみで、簡単に「指定画像」であるバーコードを修飾することができ、修飾後のバーコードが印刷された印刷結果を得ることができる。   As described above, in the embedding synthesis process, the barcode can be modified by embedding the barcode in the embedding area of the embedded image. Therefore, the image data creation apparatus can create a composite image in which a barcode is embedded in an embedded area of an existing image. Further, the created composite image can be displayed on the liquid crystal display 4 or printed. Therefore, the user can easily modify the barcode that is the “designated image” simply by selecting the embedded image from the existing image and selecting the arrangement position, and the printed barcode with the modified barcode printed. The result can be obtained.

次に、図22を参照して、印刷処理について説明する。まず、入力バッファ140から印刷対象のデータが取得される(S71)。この印刷対象とは、例えば、文字、画像、バーコードである。そして、印刷対象がバーコードであるか否かの判断が行われる(S72)。印刷対象がバーコードでなければ(S72:NO)、印刷対象に応じたドットデータが取得される(S73)。文字列については、フォント記憶エリア131に記憶されているドットデータが使用される。また、画像については、CGROM13の図示外の記憶エリアに記憶されているドットデータが使用される。なお、既存画像が単体で印刷対象とされてもよい。そして、S73で読み出されたドットデータから、文字サイズや文字修飾(例えば、太字、白抜き、反転)が加味された印刷用のイメージデータが作成され印刷用イメージ記憶エリア151に記憶される(S75)。そして、印刷が実行される(S76)。具体的には、印刷用イメージ記憶エリア151に記憶されているドットデータが行ごとに処理される。まず、一番左の列のドットデータが印刷バッファ141に記憶される。そして、印刷バッファ141に記憶された一列分のドットデータの情報に基づいて、サーマルヘッド5が駆動されて印刷が実行される。さらに、テープ送りモータ6が駆動されてテープが搬送される。次いで、2番目の列のドットデータが処理され、全ての列の印刷が終了したら(S76)、S130へ進む。   Next, the printing process will be described with reference to FIG. First, data to be printed is acquired from the input buffer 140 (S71). Examples of the print target include characters, images, and barcodes. Then, it is determined whether or not the printing target is a barcode (S72). If the print target is not a barcode (S72: NO), dot data corresponding to the print target is acquired (S73). For character strings, dot data stored in the font storage area 131 is used. For the image, dot data stored in a storage area (not shown) of the CGROM 13 is used. An existing image may be a single print target. Then, from the dot data read in S73, image data for printing with character size and character modification (for example, bold, white, inversion) is created and stored in the printing image storage area 151 ( S75). Then, printing is executed (S76). Specifically, the dot data stored in the print image storage area 151 is processed for each row. First, the dot data in the leftmost column is stored in the print buffer 141. Then, based on the dot data information for one row stored in the print buffer 141, the thermal head 5 is driven to execute printing. Further, the tape feed motor 6 is driven to transport the tape. Next, when the dot data of the second row is processed and printing of all rows is completed (S76), the process proceeds to S130.

一方、印刷対象がバーコードであれば(S72:YES)、合成画像イメージ記憶エリア150に記憶されている合成画像のドットデータが取得される(S74)。読み出されたドットデータから印刷用のイメージデータが作成され印刷用イメージ記憶エリア151に記憶される(S75)。そして、印刷が実行される(S76)。そして、他の印刷対象があるか否かの判断が行われる(S77)。入力バッファ140に未処理の印刷対象があれば、S71へ戻り、未処理の印刷対象に対する印刷処理が行われる(S71〜S76)。そして、全ての印刷対象の印刷が行われたら(S77:NO)、印刷処理は終了され、メイン処理へ戻る。   On the other hand, if the print target is a barcode (S72: YES), the dot data of the composite image stored in the composite image image storage area 150 is acquired (S74). Printing image data is created from the read dot data and stored in the printing image storage area 151 (S75). Then, printing is executed (S76). Then, it is determined whether there is another print target (S77). If there is an unprocessed print target in the input buffer 140, the process returns to S71, and print processing for the unprocessed print target is performed (S71 to S76). When all the print targets have been printed (S77: NO), the printing process is terminated and the process returns to the main process.

なお、上記実施の形態におけるテープ印刷装置1が「画像データ作成装置」に該当する。既存画像情報記憶エリア132のドットデータを記憶する領域が「既存画像記憶手段」に該当し、既存画像情報記憶エリア132の埋込領域原点、埋込領域中心点、埋込領域回転角を記憶する領域が「埋込領域情報記憶手段」に該当する。バーコードイメージが「指定画像」に該当する。図20に示す埋込合成処理のS54,S55において埋込画像画面42(図17参照)を液晶ディスプレイ4に表示し、入力を受け付ける処理を行うCPU11が「埋込画像指定手段」に相当する。図19に示すバーコード入力編集処理のS41でバーコードの規格や埋込情報を入力するバーコード設定画面(図示外)を表示し、入力を受け付ける処理を行うCPU11が「指定画像指定手段」に相当する。図20に示す埋込合成処理のS51で配置指定画面41(図16参照)を表示し、入力を受け付ける処理を行うCPU11が「配置バランス選択手段」に相当する。   The tape printer 1 in the above embodiment corresponds to an “image data creation device”. The area for storing dot data in the existing image information storage area 132 corresponds to “existing image storage means”, and stores the embedding area origin, the embedding area center point, and the embedding area rotation angle of the existing image information storage area 132. The area corresponds to “embedded area information storage means”. The barcode image corresponds to the “designated image”. The CPU 11 that performs the process of displaying the embedded image screen 42 (see FIG. 17) on the liquid crystal display 4 and receiving the input in S54 and S55 of the embedded synthesis process shown in FIG. 20 corresponds to “embedded image designating means”. In step S41 of the barcode input editing process shown in FIG. 19, the barcode setting screen (not shown) for inputting the barcode standard and embedding information is displayed, and the CPU 11 that performs the process of accepting the input displays the “designated image designation unit”. Equivalent to. The CPU 11 that displays the arrangement designation screen 41 (see FIG. 16) in S51 of the embedding synthesis process shown in FIG. 20 and receives the input corresponds to “arrangement balance selection means”.

そして、図21に示す埋込合成処理のS60において、埋込画像イメージの埋込領域に、バーコードイメージが書き込まれる処理を行うCPU11が「合成画像データ作成手段」に相当する。図19に示すバーコード入力編集処理のS43でバーコードイメージを生成する処理を行うCPU11が「バーコード画像生成手段」に相当する。図21に示す埋込合成処理のS59において、バーコードイメージを拡大又は縮小する処理を行うCPU11が「指定画像拡大縮小手段」に相当する。   Then, in S60 of the embedding synthesis process shown in FIG. 21, the CPU 11 that performs the process of writing the barcode image in the embedding area of the embedding image image corresponds to “composite image data creation means”. The CPU 11 that performs processing for generating a barcode image in S43 of the barcode input editing processing shown in FIG. 19 corresponds to “barcode image generation means”. In S59 of the embedding / synthesizing process shown in FIG. 21, the CPU 11 that performs the process of enlarging or reducing the barcode image corresponds to “designated image enlarging / reducing means”.

なお、本発明のバーコード修飾装置は、上記した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。上記実施の形態では、「画像データ作成装置」としてテープ印刷装置1を例示し、画像データ作成装置は、埋込画像に埋め込まれたバーコードも画像(合成画像)を作成した。しかしながら、画像データ作成装置自体が出力のための機能を有していなくともよい。例えば、パーソナルコンピュータのハードディスク装置に画像合成プログラムを記憶させ、パーソナルコンピュータのCPUが画像合成プログラムを実行する。そして、パーソナルコンピュータは、表示装置(例えば、ディスプレイ)及び入力装置(例えば、キーボード,マウス)を接続し、入力装置によりユーザからの各種入力を受け付ける。そして、画像データ作成装置であるパーソナルコンピュータにおいて、合成画像を作成する。なお、ノート型のパーソナルコンピュータのように表示装置や入力装置が一体となっている装置であっても同様である。   The barcode modifying apparatus of the present invention is not limited to the above-described embodiment, and various changes can be made without departing from the spirit of the present invention. In the above embodiment, the tape printer 1 is exemplified as the “image data creation device”, and the image data creation device also creates an image (composite image) of the barcode embedded in the embedded image. However, the image data creation device itself may not have a function for output. For example, the image composition program is stored in a hard disk device of a personal computer, and the CPU of the personal computer executes the image composition program. The personal computer connects a display device (for example, a display) and an input device (for example, a keyboard and a mouse), and accepts various inputs from the user by the input device. Then, a composite image is created in a personal computer which is an image data creation device. The same applies to a device in which a display device and an input device are integrated, such as a notebook personal computer.

また、上記実施の形態では、埋込画像の埋込領域にバーコードイメージを埋め込んだ。つまり、バーコードイメージを「指定画像」としたが、指定画像はバーコードイメージに限らない。予め記憶されている画像の中から指定画像を選択し、既存画像の埋込領域内に埋め込み、合成画像を作成してもよい。この場合には、バーコード入力編集処理において、バーコードに関する設定や埋込情報の入力を受け付けるのではなく(S41,S42)、指定画像とする画像の指定を受け付ければよい。また、上記実施の形態では、既存画像を予め自身のCGROM13に記憶しておいたが、画像データ作成装置がネットワークに接続可能な場合、他の装置に記憶されている画像を用いてもよい。また、ユーザが作成してもよい。この場合には、画像データ作成装置に画像作成手段を備える必要がある。画像作成手段ではドットデータを編集、作成する。   In the above embodiment, the barcode image is embedded in the embedded area of the embedded image. That is, the barcode image is the “designated image”, but the designated image is not limited to the barcode image. A designated image may be selected from images stored in advance and embedded in an embedded area of an existing image to create a composite image. In this case, in the barcode input editing process, it is only necessary to accept designation of an image as a designated image, instead of accepting settings relating to barcodes or input of embedded information (S41, S42). In the above embodiment, the existing image is stored in advance in its own CGROM 13, but when the image data creation apparatus can be connected to a network, an image stored in another apparatus may be used. Also, the user may create it. In this case, it is necessary to provide image creation means in the image data creation device. The image creation means edits and creates dot data.

また、上記実施の形態では、テープに対して一色で印刷結果が形成されるテープ印刷装置1を例にあげたため、埋込画像もバーコードも黒と白の2色とした。しかしながら、出力装置が複数の色を出力可能な場合には、埋込画像が複数の色で構成されていてもよいし、バーコードと異なる色であってもよい。なお、そのような場合には、一次元バーコードの伸張は上記方法では美しい画像にならない場合がある。例えば、バーの色が埋込画像に含まれないような場合である。このような画像に対しては、伸張を「不可」とすればよい。また、バーを伸張する領域を既存画像ごとに、埋込領域とは別に指定しておき、その領域の内側までバーを伸張させるようにしてもよい。   In the above embodiment, the tape printing apparatus 1 in which the printing result is formed in one color on the tape is taken as an example, so that both the embedded image and the barcode are black and white. However, when the output device can output a plurality of colors, the embedded image may be composed of a plurality of colors or a color different from the barcode. In such a case, the one-dimensional barcode extension may not be a beautiful image by the above method. For example, the bar color is not included in the embedded image. For such an image, the expansion may be set to “impossible”. Alternatively, an area for extending the bar may be designated for each existing image separately from the embedded area, and the bar may be extended to the inside of the area.

また、上記実施の形態では、埋込領域に1つの指定画像(バーコード)を埋め込み、合成画像を作成した。しかしながら、埋込領域に配置する指定画像は1つに限らず、2つ以上であってもよい。図26及び図27に示す例は、埋込領域に2つのバーコードが埋め込まれた合成画像の例である。図26は、既存画像101の埋込領域111にバーコード401,402が埋め込まれた合成画像291の模式図であり、図27は、既存画像103の埋込領域113にバーコード403,404が埋め込まれた合成画像292の模式図である。図26では、バーコードが上下に2つ並べられている。図27では、バーコードが左右に2つ並べられている。このように複数のバーコードを埋め込む場合には、既存画像に予めいくつのバーコードを埋め込むかを設定しておいてもよいし、ユーザにいくつのバーコードをどのような並び(例えば、上下並び、左右並び、上下2段など)で埋め込むかを選択させてもよい。   In the above embodiment, one designated image (barcode) is embedded in the embedding area to create a composite image. However, the number of designated images arranged in the embedded region is not limited to one, and may be two or more. The example shown in FIGS. 26 and 27 is an example of a composite image in which two barcodes are embedded in the embedded region. FIG. 26 is a schematic diagram of a composite image 291 in which barcodes 401 and 402 are embedded in the embedding area 111 of the existing image 101, and FIG. 27 shows barcodes 403 and 404 in the embedding area 113 of the existing image 103. It is a schematic diagram of the synthesized image 292 embedded. In FIG. 26, two barcodes are arranged vertically. In FIG. 27, two barcodes are arranged on the left and right. In this way, when embedding a plurality of barcodes, it may be set in advance how many barcodes are embedded in an existing image, and how many barcodes are arranged in the user (for example, vertically arranged). , Left and right side-by-side, upper and lower two levels, etc.) may be selected.

また、上記実施の形態では、既存画像に対して埋込領域を1つ設けた。しかしながら、埋込領域は1つに限らず、複数設けてもよい。図28に示す例は、埋込領域が2つ設けられた既存画像にバーコードが埋め込まれた合成画像299の模式図である。このような場合には、既存画像情報記憶エリア132にそれぞれの埋込領域に関する情報が記憶される。また、埋込領域に埋め込まれる指定画像(バーコード)は全ての埋込画像に対して同じ画像であってもよいし、異なる画像であってもよい。   In the above embodiment, one embedded region is provided for the existing image. However, the number of buried regions is not limited to one, and a plurality of buried regions may be provided. The example shown in FIG. 28 is a schematic diagram of a composite image 299 in which a barcode is embedded in an existing image provided with two embedded regions. In such a case, information relating to each embedding area is stored in the existing image information storage area 132. In addition, the designated image (barcode) embedded in the embedded region may be the same image for all embedded images, or may be different images.

また、上記実施の形態では、図20に示す埋込合成処理において、バーコードの形状を取得し、近正方形か否かを判断した(S52,S53)。そして、バーコードの形状に応じて、近正方形に適した既存画像、長方形に適した既存画像から埋込画像を選択可能とした。しかしながら、バーコードの形状でなく、バーコードの規格に応じて、適した既存画像を抽出し、ユーザに埋込画像をその中から選択させてもよい。この場合には、既存画像情報記憶エリア132に適応規格として、適したバーコード規格を示す値を記憶しておく。   In the above embodiment, in the embedding synthesis process shown in FIG. 20, the shape of the barcode is acquired and it is determined whether or not it is a near square (S52, S53). The embedded image can be selected from the existing image suitable for the near square and the existing image suitable for the rectangle according to the shape of the barcode. However, a suitable existing image may be extracted according to the barcode standard instead of the barcode shape, and the user may select an embedded image from the extracted image. In this case, a value indicating an appropriate barcode standard is stored in the existing image information storage area 132 as an adaptive standard.

また、印刷処理(図22)において、メイン処理(図18)の埋込合成処理(S25)、バーコード入力編集処理(図19)の埋込合成処理(S46)で指定された修飾の条件を入力バッファに記憶しておき、印刷処理においては、入力バッファに記憶されている条件を読み出してバーコードイメージと埋込画像を合成してもよい。   In the printing process (FIG. 22), the modification conditions specified in the embedding composition process (S25) of the main process (FIG. 18) and the embedding composition process (S46) of the barcode input editing process (FIG. 19) are set. It may be stored in the input buffer, and in the printing process, the condition stored in the input buffer may be read to synthesize the barcode image and the embedded image.

また、上記実施の形態では、埋込画像の埋込領域の大きさに合わせて、バーコードイメージの大きさを調整(拡大又は縮小)したが、逆に、バーコードイメージの大きさに合わせて、埋込画像の大きさを調整(拡大又は縮小)してもよい。このような場合の埋込合成処理について、図29に示すフローチャートを用いて説明する。図29は、埋込画像の大きさを調整する、埋込合成処理の変形例のフローチャートである。なお、図20及び図21に示す埋込合成処理と同じ処理の部分には、同じステップ番号を付与してある(S51〜S54、S60〜S65)。そして、S101,S102の部分が本変形例の特徴的な部分である。   In the above embodiment, the size of the barcode image is adjusted (enlarged or reduced) according to the size of the embedding area of the embedding image, but conversely, according to the size of the barcode image. The size of the embedded image may be adjusted (enlarged or reduced). The embedded synthesis process in such a case will be described with reference to the flowchart shown in FIG. FIG. 29 is a flowchart of a modified example of the embedding synthesis process for adjusting the size of the embedded image. Note that the same step numbers are assigned to the same processing portions as the embedding synthesis processing shown in FIGS. 20 and 21 (S51 to S54, S60 to S65). And the part of S101 and S102 is a characteristic part of this modification.

図29に示すように、埋込画像が選択され、サイズが決定されたら(S54,S55)、埋込画像サイズが決定される(S101)。具体的には、バーコードイメージ記憶エリア148に記憶されているバーコードイメージの縦サイズ及び横サイズが取得される。さらに、既存画像情報記憶エリア132の埋込領域原点の座標,埋込領域中心点の座標,埋込領域回転角に基づいて埋込領域のサイズが算出される。そして、バーコードイメージの縦サイズと横サイズとの関係、埋込領域の縦サイズと横サイズとの関係に基づいて、バーコードが埋め込み領域内に収まるように拡大/縮小率が決定される。例えば、横サイズを基準にする場合には、「拡大/縮小率=バーコードイメージの横サイズ÷埋込領域の横サイズ」で算出される。   As shown in FIG. 29, when the embedded image is selected and the size is determined (S54, S55), the embedded image size is determined (S101). Specifically, the vertical size and horizontal size of the barcode image stored in the barcode image storage area 148 are acquired. Further, the size of the embedding area is calculated based on the coordinates of the embedding area origin in the existing image information storage area 132, the coordinates of the embedding area center point, and the embedding area rotation angle. Based on the relationship between the vertical size and horizontal size of the barcode image and the relationship between the vertical size and horizontal size of the embedding area, the enlargement / reduction ratio is determined so that the barcode fits in the embedding area. For example, when the horizontal size is used as a reference, “enlargement / reduction ratio = horizontal size of barcode image ÷ horizontal size of embedded region” is calculated.

そして、算出された拡大/縮小率に基づいて、埋込画像のドットデータが拡大又は縮小されて、埋込画像イメージが生成され、埋込画像イメージ記憶エリア149に記憶される(S102)。そして、以下の処理は、図20に示した埋込合成処理のS60〜S65と同様であり、埋込画像イメージにバーコードイメージが埋め込まれ(S60)、一次元バーコードであれば(S61)、バーコード伸張の処理が行われる(S62〜S65)。なお、S101,S102の処理を行うCPU11が「埋込画像拡大縮小手段」に相当する。これにより、バーコードイメージの大きさを調整するのでなく、埋込画像の大きさを調整することができる。   Then, based on the calculated enlargement / reduction ratio, the dot data of the embedded image is enlarged or reduced, and an embedded image is generated and stored in the embedded image image storage area 149 (S102). The following processing is the same as S60 to S65 of the embedding synthesis processing shown in FIG. 20, and the barcode image is embedded in the embedded image (S60), and if it is a one-dimensional barcode (S61). Then, barcode expansion processing is performed (S62 to S65). The CPU 11 that performs the processes of S101 and S102 corresponds to “embedded image enlargement / reduction means”. As a result, the size of the embedded image can be adjusted without adjusting the size of the barcode image.

また、上記実施の形態では、埋込画像に対する埋込領域は固定であったが、埋込領域のサイズをユーザが指定するようにしてもよい。例えば、既存画像情報記憶エリア132には、埋込領域の中心点の座標のみを設定しておく。そして、ユーザが指定した埋込領域のサイズ(例えば、大:既存画像の50%の相似形,中:既存画像の35%の相似形,小:既存画像の20%の相似形)と、中心点の座標とに基づいて決定される領域を埋込領域とする。このような場合には、図30に示すフローチャートのように処理すればよい。図30は、埋込合成処理の変形例のフローチャートである。この処理の後は、図21に示したフローチャートに続く。なお、図30においても、図20に示す埋込合成処理と同じ処理の部分には、同じステップ番号を付与してある(S51)。S110〜S115が本変形例の特徴的な部分である。また、予め決められている中心点の座標及びユーザの指定サイズに基づいて、埋込領域を決定するのではなく、ユーザに任意の領域を埋込領域として指定させるようにしてもよい。これには、表示手段に埋込画像を表示し、埋込画像上でユーザに領域を特定させるための情報を入力させればよい。埋込領域の中心点をどの位置にするかを入力させて、その点を中心とする予め決められた形状の領域を埋込領域としてもよい。また、連続した入力(例えば、マウスドラッグ)で閉領域を指定してもよい。この場合には、指定された閉領域を埋込領域としてもよいし、指定された閉領域に外接する長方形を埋込領域としたり、指定された閉領域に内接する長方形を埋込領域としたりしてもよい。また、埋込画像と共に、埋込領域を示す枠を埋込画像上で移動可能に表示し、ユーザにこの枠の埋込画像上の位置を決定させ、枠内の領域を埋込領域としてもよい。このような場合、表示手段が大きく、また、マウス等の位置情報を指定可能な入力手段が備えることが容易であるので、上記実施の形態のテープ印刷装置1に、液晶ディスプレイ4(図1参照)よりも大きな面積のディスプレイを設けて、ユーザに任意の領域を指定させてもよい。   In the above embodiment, the embedding area for the embedding image is fixed. However, the user may specify the size of the embedding area. For example, in the existing image information storage area 132, only the coordinates of the center point of the embedding area are set. Then, the size of the embedding area specified by the user (for example, large: 50% similarity of the existing image, middle: 35% similarity of the existing image, small: 20% similarity of the existing image), and the center An area determined based on the coordinates of the point is set as an embedded area. In such a case, processing may be performed as shown in the flowchart of FIG. FIG. 30 is a flowchart of a modification of the embedding synthesis process. After this process, it continues to the flowchart shown in FIG. Also in FIG. 30, the same step number is assigned to the same processing portion as the embedding synthesis processing shown in FIG. 20 (S51). S110 to S115 are characteristic parts of this modification. Further, instead of determining the embedding area based on the coordinates of the center point determined in advance and the size specified by the user, the user may be allowed to designate an arbitrary area as the embedding area. For this purpose, an embedded image is displayed on the display means, and information for allowing the user to specify an area on the embedded image may be input. The position of the center point of the embedded region may be input, and a region having a predetermined shape centered on that point may be used as the embedded region. Further, the closed region may be designated by continuous input (for example, mouse drag). In this case, the specified closed region may be the embedded region, a rectangle circumscribing the specified closed region may be used as the embedded region, or a rectangle inscribed in the specified closed region may be used as the embedded region. May be. In addition to the embedded image, a frame indicating the embedded area is displayed movably on the embedded image, and the user can determine the position of the frame on the embedded image, and the area in the frame can be used as the embedded area. Good. In such a case, since the display means is large and it is easy to provide an input means capable of designating position information such as a mouse, the liquid crystal display 4 (see FIG. 1) is provided in the tape printer 1 of the above embodiment. ) May be provided so that the user can designate an arbitrary area.

図30に示すように、バーコードイメージが生成されたら(S110)、埋込画像画面42により埋込画像選択及びサイズ指定が受け付けられる(S111)。本変形例では、バーコードの形状や規格に応じて、既存画像を抽出せずに、既存画像情報記憶エリア132に記憶されている既存画像は全て選択可能とする。この処理は、図20のS54,S55と同様である。そして、埋込領域のサイズ指定が行われる(S112)。ここでは、埋込領域のサイズ、大,中,小を選択肢とした埋込領域サイズ画面(図示外)が表示され、入力が受け付けられる。そして、選択されたサイズに基づいて、埋込領域のサイズが算出される(S113)。例えば、「大」が選択され、既存画像のサイズが(縦,横)=(100,100)であれば、既存画像の50%の相似形ということから埋込領域のサイズは(50,50)となる。次いで、既存画像情報記憶エリア132からドットデータが読み出され、埋込画像イメージ記憶エリア149に記憶される。そして、埋込領域の中心点の座標と、埋込領域のサイズに基づいて、埋込領域内のドットが特定され、これらのドットが全て「白」にされて、埋込領域内がクリアされる(S115)。そして、図21に示すフローチャートに続く。   As shown in FIG. 30, when a barcode image is generated (S110), embedded image selection and size designation are accepted by the embedded image screen 42 (S111). In the present modification, all existing images stored in the existing image information storage area 132 can be selected without extracting existing images in accordance with the shape and standard of the barcode. This process is the same as S54 and S55 in FIG. Then, the size of the embedded region is designated (S112). Here, an embedded area size screen (not shown) with options of the size, large, medium and small of the embedded area is displayed and input is accepted. Based on the selected size, the size of the embedded region is calculated (S113). For example, if “Large” is selected and the size of the existing image is (vertical, horizontal) = (100, 100), the size of the embedded region is (50, 50) because it is a 50% similarity of the existing image. ) Next, dot data is read from the existing image information storage area 132 and stored in the embedded image image storage area 149. Based on the coordinates of the center point of the embedding area and the size of the embedding area, the dots in the embedding area are specified, and all of these dots are set to “white” to clear the embedding area. (S115). And it continues to the flowchart shown in FIG.

これにより、埋込領域の大きさをユーザの好みの合わせて変更した後に、バーコードイメージを埋込画像に埋め込むことができる。よって、バーコードイメージと埋込画像との合成に自由度が増す。   As a result, the barcode image can be embedded in the embedded image after the size of the embedded region is changed according to the user's preference. Therefore, the degree of freedom increases in the synthesis of the barcode image and the embedded image.

テープ印刷装置1のテープカセット収納部7の蓋を取り去った状態を示す平面図である。It is a top view which shows the state which removed the cover of the tape cassette storage part 7 of the tape printer 1. FIG. テープ印刷装置1の電気的構成を示すブロック図である。2 is a block diagram showing an electrical configuration of the tape printer 1. FIG. ROM12の構成を示す模式図である。2 is a schematic diagram showing a configuration of a ROM 12. FIG. CGROM13の構成を示す模式図である。2 is a schematic diagram showing a configuration of a CGROM 13. FIG. RAM14の構成を示す模式図である。2 is a schematic diagram showing a configuration of a RAM 14. FIG. 既存画像101の模式図である。3 is a schematic diagram of an existing image 101. FIG. 既存画像102の模式図である。3 is a schematic diagram of an existing image 102. FIG. 既存画像103の模式図である。3 is a schematic diagram of an existing image 103. FIG. 既存画像104の模式図である。3 is a schematic diagram of an existing image 104. FIG. 合成画像201の模式図である。2 is a schematic diagram of a composite image 201. FIG. 合成画像202の模式図である。3 is a schematic diagram of a composite image 202. FIG. 合成画像203の模式図である。3 is a schematic diagram of a composite image 203. FIG. 合成画像204の模式図である。3 is a schematic diagram of a composite image 204. FIG. 既存画像情報記憶エリア132に記憶されている1つの既存画像についてのデータ構成を示す模式図である。It is a schematic diagram which shows the data structure about the one existing image memorize | stored in the existing image information storage area 132. FIG. 既存画像103を例示して既存画像情報記憶エリア132に記憶されている座標を座標軸上に図示した説明図である。It is explanatory drawing which illustrated the coordinate memorize | stored in the existing image information storage area 132 as an example of the existing image 103 on a coordinate axis. 配置指定画面41の模式図である。4 is a schematic diagram of an arrangement designation screen 41. FIG. 埋込画像画面42の模式図である。4 is a schematic diagram of an embedded image screen 42. FIG. メイン処理のフローチャートである。It is a flowchart of a main process. バーコード入力編集処理のフローチャートである。It is a flowchart of a barcode input edit process. 埋込合成処理のフローチャートである。It is a flowchart of an embedding synthesis process. 埋込合成処理のフローチャートである。It is a flowchart of an embedding synthesis process. 印刷処理のフローチャートである。It is a flowchart of a printing process. バーコード920の模試図である。6 is a schematic diagram of a barcode 920. FIG. 既存画像901の模式図である。It is a schematic diagram of the existing image 901. 既存画像902の模式図である。It is a schematic diagram of the existing image 902. 合成画像291の模式図である。It is a schematic diagram of the synthesized image 291. 合成画像292の模式図である。It is a schematic diagram of the composite image 292. 合成画像299の模式図である。It is a schematic diagram of the synthesized image 299. 埋込合成処理の変形例のフローチャートである。It is a flowchart of the modification of an embedding synthesis process. 埋込合成処理の変形例のフローチャートである。It is a flowchart of the modification of an embedding synthesis process.

符号の説明Explanation of symbols

1 テープ印刷装置
3 キーボード部
4 液晶ディスプレイ
10 制御回路部
11 CPU
12 ROM
13 CGROM
14 RAM
41 配置指定画面
42 埋込画像画面
101〜104 既存画像
111〜114 埋込領域
121 プログラム記憶エリア
132 既存画像情報記憶エリア
140 入力バッファ
143 上下指定記憶エリア
144 左右指定記憶エリア
145 埋込画像記憶エリア
146 埋込画像サイズ記憶エリア
147 埋込領域サイズ記憶エリア
148 バーコードイメージ記憶エリア
149 埋込画像イメージ記憶エリア
150 合成画像イメージ記憶エリア
151 印刷用イメージ記憶エリア
201〜204 合成画像
291,292,299 合成画像
401〜404 バーコード
DESCRIPTION OF SYMBOLS 1 Tape printer 3 Keyboard part 4 Liquid crystal display 10 Control circuit part 11 CPU
12 ROM
13 CGROM
14 RAM
41 Placement designation screen 42 Embedding image screens 101 to 104 Existing image 111 to 114 Embedding area 121 Program storage area 132 Existing image information storage area 140 Input buffer 143 Upper and lower designation storage area 144 Left and right designation storage area 145 Embedded image storage area 146 Embedded image size storage area 147 Embedded area size storage area 148 Barcode image storage area 149 Embedded image image storage area 150 Composite image image storage area 151 Print image storage areas 201-204 Composite image 291, 292, 299 Composite image 401-404 barcode

Claims (13)

複数の画像を既存画像として予め記憶した既存画像記憶手段と、
前記既存画像に他の画像を埋め込む際に、他の画像を埋め込む領域を示す情報である埋込領域情報を前記既存画像ごとに記憶した埋込領域情報記憶手段と、
前記既存画像記憶手段に記憶されている前記既存画像から、他の画像を埋め込む画像である埋込画像を指定する埋込画像指定手段と、
前記埋込画像指定手段により指定された前記埋込画像に埋め込まれる画像を指定画像として指定する指定画像指定手段と、
前記埋込画像指定手段により指定された前記埋込画像に対して前記埋込領域情報で指定されている領域である埋込領域に、前記指定画像指定手段により指定された前記指定画像を埋め込んで合成した合成画像の画像データを作成する合成画像データ作成手段とを備えたことを特徴とする画像データ作成装置。
Existing image storage means for storing a plurality of images as existing images in advance;
An embedding area information storage unit that stores embedding area information, which is information indicating an area in which another image is embedded, when embedding another image in the existing image;
From the existing image stored in the existing image storage means, an embedded image specifying means for specifying an embedded image that is an image to be embedded with another image;
Designated image designating means for designating an image embedded in the embedded image designated by the embedded image designating means as a designated image;
The specified image specified by the specified image specifying means is embedded in an embedded area that is specified by the embedded area information with respect to the embedded image specified by the embedded image specifying means. An image data creation device comprising: composite image data creation means for creating image data of a synthesized composite image.
バーコードを出力するためのバーコード画像を生成するバーコード画像生成手段を備え、
前記指定画像指定手段は、前記バーコード画像生成手段により生成された前記バーコード画像を前記指定画像として指定可能であることを特徴とする請求項1に記載の画像データ作成装置。
A barcode image generating means for generating a barcode image for outputting a barcode;
2. The image data creating apparatus according to claim 1, wherein the designated image designating unit can designate the barcode image generated by the barcode image generating unit as the designated image.
前記合成画像データ作成手段により、前記埋込画像と前記指定画像とを合成する際に、前記指定画像を前記埋込領域の中で上下方向における上寄せ、中央寄せ及び下寄せのいずれか、並びに、左右方向における左寄せ、中央寄せ、右寄せ及び伸張のいずれかのうちの少なくとも一つを配置バランスとして選択する配置バランス選択手段と、
前記合成画像データ作成手段は、前記配置バランス指定手段により選択された配置バランスにしたがって、前記埋込領域内に前記指定画像を配置して前記埋込画像と前記指定画像とを合成することを特徴とする請求項1又は2に記載の画像データ作成装置。
When synthesizing the embedded image and the designated image by the synthesized image data creating means, the designated image is either vertically aligned in the vertical direction, centered or bottom aligned, and Arrangement balance selection means for selecting at least one of left alignment, center alignment, right alignment, and extension in the left-right direction as an arrangement balance;
The synthesized image data creating unit arranges the designated image in the embedding area according to the arrangement balance selected by the arrangement balance designation unit, and synthesizes the embedded image and the designated image. The image data creation device according to claim 1 or 2.
前記埋込領域のサイズに基づいて、前記指定画像を拡大又は縮小する指定画像拡大縮小手段を備えたことを特徴とする請求項1乃至3のいずれかに記載の画像データ作成装置。   4. The image data creating apparatus according to claim 1, further comprising designated image enlargement / reduction means for enlarging or reducing the designated image based on a size of the embedding area. 前記埋込画像指定手段で埋込画像として指定可能な前記既存画像が、前記バーコードの形状に基づいて決定されることを特徴とする請求項2に記載の画像データ作成装置。   3. The image data creation device according to claim 2, wherein the existing image that can be specified as an embedded image by the embedded image specifying means is determined based on a shape of the barcode. 前記埋込画像指定手段で埋込画像として指定可能な前記既存画像が、バーコードの種類に基づいて決定されることを特徴とする請求項2又は5に記載の画像データ作成装置。   6. The image data creation apparatus according to claim 2, wherein the existing image that can be specified as an embedded image by the embedded image specifying means is determined based on a type of barcode. 前記合成画像データ作成手段は、前記埋込領域の形状、及び、前記埋込領域の前記既存画像に対する配置方向に基づいて、前記指定画像を回転させることを特徴とする請求項1乃至6のいずれかに記載の画像データ作成装置。   The composite image data creation unit rotates the designated image based on a shape of the embedded region and an arrangement direction of the embedded region with respect to the existing image. An image data creation device according to claim 1. 前記バーコードが、細長い長方形の複数のバーが、長手方向を上下方向として平行となるように並べられた一次元バーコードである場合に、
前記合成画像データ作成手段は、前記埋込領域内に前記指定画像である前記バーコード画像を配置して前記埋込画像と合成する際に、前記埋込領域の端まで前記バーを伸ばすことを特徴とする請求項2,5及び6のいずれかに記載の画像データ作成装置。
In the case where the barcode is a one-dimensional barcode in which a plurality of elongated rectangular bars are arranged in parallel so that the longitudinal direction is the vertical direction,
The composite image data creating means extends the bar to the end of the embedded area when the barcode image as the designated image is arranged in the embedded area and combined with the embedded image. The image data creation device according to any one of claims 2, 5 and 6.
前記バーコードは、第一の色の細長い長方形のバー及び第二の色の細長い長方形のバーが、長手方向を上下方向として平行となるように交互に並べられた一次元バーコードであり、
前記埋込画像は、前記第一の色及び前記第二の色を少なくとも含む色の画素で構成されている場合に、
前記合成画像データ作成手段は、前記埋込領域内に前記指定画像である前記バーコード画像を配置して前記埋込画像と合成する際に、前記第一の色のバーを前記埋込画像における前記第一の色の画素にぶつかるまで伸ばし、前記第二の色のバーを前記埋込画像における前記第一の色の画素にぶつかるまで伸ばすことを特徴とする請求項2,5,6及び8の
いずれかに記載の画像データ作成装置。
The bar code is a one-dimensional bar code in which elongated rectangular bars of a first color and elongated rectangular bars of a second color are alternately arranged so that the longitudinal direction is parallel to the vertical direction,
When the embedded image is composed of pixels of a color including at least the first color and the second color,
The composite image data creating means arranges the barcode image as the designated image in the embedded region and combines the first color bar with the embedded image in the embedded image. 9. Extending until it hits the first color pixel and extending the second color bar until it hits the first color pixel in the embedded image. The image data creation device according to any one of the above.
前記埋込画像を前記指定画像のサイズに合わせて拡大又は縮小する埋込画像拡大縮小手段を備えたことを特徴とする請求項1乃至3、及び、5乃至9のいずれかに記載の画像データ作成装置。   The image data according to any one of claims 1 to 3, and 5 to 9, further comprising embedded image enlargement / reduction means for enlarging or reducing the embedded image in accordance with a size of the designated image. Creation device. 前記合成画像データ作成手段は、前記埋込領域に複数の前記指定画像を配置して前記埋込画像と合成することを特徴とする請求項1乃至10のいずれかに記載の画像データ作成装置。   11. The image data creation device according to claim 1, wherein the composite image data creation unit arranges a plurality of the designated images in the embedding area and synthesizes them with the embedding image. 前記既存画像は、複数の前記埋込領域を備えていることを特徴とする請求項1乃至11のいずれかに記載の画像データ作成装置。   The image data creation device according to claim 1, wherein the existing image includes a plurality of the embedded regions. 請求項1乃至12のいずれかに記載の画像データ作成装置としてコンピュータを機能させることを特徴とする画像データ作成プログラム。   An image data creation program for causing a computer to function as the image data creation device according to claim 1.
JP2008089348A 2008-03-31 2008-03-31 Image data creation device and image data creation program Active JP4582175B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008089348A JP4582175B2 (en) 2008-03-31 2008-03-31 Image data creation device and image data creation program
PCT/JP2009/055038 WO2009122888A1 (en) 2008-03-31 2009-03-16 Image data creation device, image data creation method, and computer-readable medium containing image data creation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008089348A JP4582175B2 (en) 2008-03-31 2008-03-31 Image data creation device and image data creation program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2010162312A Division JP4807466B2 (en) 2010-07-16 2010-07-16 Image data creation device and image data creation program

Publications (2)

Publication Number Publication Date
JP2009246602A true JP2009246602A (en) 2009-10-22
JP4582175B2 JP4582175B2 (en) 2010-11-17

Family

ID=41135274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008089348A Active JP4582175B2 (en) 2008-03-31 2008-03-31 Image data creation device and image data creation program

Country Status (2)

Country Link
JP (1) JP4582175B2 (en)
WO (1) WO2009122888A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017059024A (en) * 2015-09-17 2017-03-23 日本信号株式会社 Program and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742145A (en) * 2017-09-20 2018-02-27 深圳市天朗时代科技有限公司 Data embedding method, method for reading data, device and readable storage medium storing program for executing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06113119A (en) * 1992-09-28 1994-04-22 Mita Ind Co Ltd Device and method for forming imahge
JPH09200494A (en) * 1996-01-23 1997-07-31 Brother Ind Ltd Image forming device
JP2002051204A (en) * 2000-07-31 2002-02-15 Fuji Photo Film Co Ltd Advertising method for photograph print with advertisement and print system for photograph with advertisement
JP2005039856A (en) * 2004-09-27 2005-02-10 Seiko Epson Corp Layout editing program
JP2006346162A (en) * 2005-06-16 2006-12-28 Konica Minolta Medical & Graphic Inc Medical image converting device, medical image output system and medical image output program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06113119A (en) * 1992-09-28 1994-04-22 Mita Ind Co Ltd Device and method for forming imahge
JPH09200494A (en) * 1996-01-23 1997-07-31 Brother Ind Ltd Image forming device
JP2002051204A (en) * 2000-07-31 2002-02-15 Fuji Photo Film Co Ltd Advertising method for photograph print with advertisement and print system for photograph with advertisement
JP2005039856A (en) * 2004-09-27 2005-02-10 Seiko Epson Corp Layout editing program
JP2006346162A (en) * 2005-06-16 2006-12-28 Konica Minolta Medical & Graphic Inc Medical image converting device, medical image output system and medical image output program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017059024A (en) * 2015-09-17 2017-03-23 日本信号株式会社 Program and system

Also Published As

Publication number Publication date
WO2009122888A1 (en) 2009-10-08
JP4582175B2 (en) 2010-11-17

Similar Documents

Publication Publication Date Title
JP2006321175A (en) Apparatus and program for editing printing data, and recording medium
JP4696865B2 (en) Document processing device
JP4807466B2 (en) Image data creation device and image data creation program
JP2006099261A (en) Label creation device, program and recording medium
JPH09286093A (en) Method and apparatus for forming ground design printing image
US6062750A (en) Printer capable of printing a background in addition to text on a tape along with a decorating feature to extend the border of the printed tape
JP4582175B2 (en) Image data creation device and image data creation program
US9715643B2 (en) Label creation apparatus, label creation method, and label creation program
JP4735653B2 (en) Print data creation apparatus and print data creation program
JP5228897B2 (en) Image processing method, program thereof, and image processing apparatus
JP4905401B2 (en) Bar code modification device and bar code modification program
JP2005103929A (en) Apparatus for forming small printed matter, method for forming small printed matter and program for forming small printed matter
JP2546194B2 (en) Tape printer capable of printing multiple lines of data
JP2005092567A (en) Scroll controller, scroll control method, scroll control program, and recording medium
JP3099643B2 (en) Label making device
JP3378662B2 (en) Document processing device
JP3632294B2 (en) Bar code output device
JP6809051B2 (en) Programs and mobile terminals
JP6809050B2 (en) Programs and mobile terminals
JPH07156449A (en) Printer and image font-enlarging device
JP2004223784A (en) Controller for printing on tape, tape printer, and program
JPH08287272A (en) Document preparation device and plane figure arranging method
JP2003204431A (en) Printing control equipment and program
JPS6316364A (en) Word processor
JPH0470956A (en) Document processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100518

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100715

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100803

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100816

R150 Certificate of patent or registration of utility model

Ref document number: 4582175

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130910

Year of fee payment: 3