JPH04156684A - Image edit device - Google Patents

Image edit device

Info

Publication number
JPH04156684A
JPH04156684A JP2282531A JP28253190A JPH04156684A JP H04156684 A JPH04156684 A JP H04156684A JP 2282531 A JP2282531 A JP 2282531A JP 28253190 A JP28253190 A JP 28253190A JP H04156684 A JPH04156684 A JP H04156684A
Authority
JP
Japan
Prior art keywords
image
editing
information
screen
postcard
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.)
Pending
Application number
JP2282531A
Other languages
Japanese (ja)
Inventor
Kouichirou Uchigata
内潟 浩一郎
Fumihiro Nakagaki
中垣 文浩
Masaaki Nishio
真明 西尾
Kazuteru Fujiwara
藤原 一輝
Takeshi Inoue
武志 井上
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.)
Tokyo Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Original Assignee
Tokyo Sanyo Electric Co Ltd
Tottori Sanyo Electric Co Ltd
Sanyo Electric Co 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 Tokyo Sanyo Electric Co Ltd, Tottori Sanyo Electric Co Ltd, Sanyo Electric Co Ltd filed Critical Tokyo Sanyo Electric Co Ltd
Priority to JP2282531A priority Critical patent/JPH04156684A/en
Publication of JPH04156684A publication Critical patent/JPH04156684A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily perform the edit of an image by providing plural image memory, and storing image information or an edit picture after completing edit and the information of an element targeted to edit. CONSTITUTION:An image constitutional element desired to arrange on a postal card picture D1 is selected from a sample picture D2 provided with plural elements P1-P3 to be arranged first, and it is inputted to a pallet picture D3. When automatic generation is instructed to the picture, appropriate formats in accordance with the elements P1-P3 are selected, and the superposition of the elements and overflow from an edit area R10 are adjusted by the travel and reduction of the elements P1-P3. When layout on a format area is performed and the edit is completed, position data and size data on a picture 10 are stored in postal card text memory in form of code. Also, the image information of the element targeted to edit is stored in pallet text memory in form of dot information or outline information. Thereby, since the amount of storage data after the edit can be reduced, the edit of the image can be easily performed.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明ははがきのタイトル、イラスト、定型文等の画像
構成要素をはがき(編集画面)にレイアウトするはがき
作成装置等に用いられる画像編集装置に関する。
Detailed Description of the Invention (a) Industrial Application Field The present invention is an image editing device used in a postcard creation device, etc. that layouts image components such as postcard titles, illustrations, and fixed phrases on postcards (editing screen). Regarding.

(ロ)従来の技術 従来、文書ファイル装置などにおいて編集画面上の所定
領域を指定してこれを編集対象要素として移動や複写、
拡大縮小などの編集を行うものが知られている。この種
従来例に於ては画像編集はVRAM上で行い、編集後は
VRAMの画像情報を光ディスクなどの他の記憶手段に
保存する。
(B) Conventional technology Conventionally, in document file devices, etc., a predetermined area on the editing screen is specified and this is moved, copied, or
Some are known that perform editing such as scaling. In this kind of conventional example, image editing is performed on VRAM, and after editing, the image information in VRAM is stored in another storage means such as an optical disk.

(ハ)発明が解決しようとする課題 この従来例では編集画面上の構成要素の数が同じで位置
や大きさが異なるにも拘わらず別の1枚ずつの画像情報
として扱われドツト情報として記憶するため多大な記憶
容量を必要とする欠点があった。本発明はこの欠点を解
消すると共に、画像編集の容易な画像編集装置を提供す
ることを課題とする。
(c) Problems to be solved by the invention In this conventional example, even though the number of constituent elements on the editing screen is the same but their positions and sizes are different, they are treated as separate image information and stored as dot information. This has the drawback of requiring a large amount of storage capacity. An object of the present invention is to eliminate this drawback and provide an image editing device that facilitates image editing.

(ニ)課題を解決するための手段 本発明は上記課題を達成するために編集画面上の所定領
域を編集対象要素として編集を行うものにおいて、編集
画面の画像情報をドツト情報として記憶する第1画像メ
モリと、第1画像メモリに記憶された画像情報を表示す
る表示手段と、前記編集画面の大きさ情報と編集対象要
素の要素識別情報、編集画面上での位置情報及び大きさ
情報とをコード情報で記憶する第2画像メモリと、前記
編集対象要素の画像情報をドツト情報またはアウトライ
ン情報の形で記憶する第3画像メモリと、前記第1画像
メモリ上で編集対象要素に対しドツト単位の編集を行う
画像編集手段と、この画像編集手段による編集終了後に
編集画面及び編集対象要素の情報を前記第2画像メモリ
に記憶保存する記憶制御手段とを具備したことを特徴と
するものである。
(d) Means for Solving the Problems In order to achieve the above-mentioned problems, the present invention edits a predetermined area on an editing screen as an editing target element. an image memory, a display means for displaying the image information stored in the first image memory, size information of the editing screen, element identification information of the element to be edited, position information on the editing screen, and size information. A second image memory stores code information, a third image memory stores image information of the element to be edited in the form of dot information or outline information, and a second image memory stores image information of the element to be edited in the form of dot information or outline information; The image editing apparatus is characterized by comprising an image editing means for editing, and a storage control means for storing information on the editing screen and the element to be edited in the second image memory after the editing by the image editing means is completed.

(ホ)作用 上記の手段によれば、画像編集手段により第1画面メモ
リ上で従来と同様ドツト単位の編集を行うことができ、
画像編集を終了すると要素の編集画面上での位置情報、
大きさ情報がコード情報で第2画像メモリへ記憶される
。一方、要素のイメージデータは共通の情報として第3
画像メモリへ記憶されている。従って、要素のイメージ
データを共通化して、要素の位置情報、大きさ情報で編
集済みの画像データを貯えることができる。
(e) Effect: According to the above means, the image editing means can perform dot-by-dot editing on the first screen memory as in the past;
When you finish editing the image, the position information on the element editing screen,
The size information is stored in the second image memory as code information. On the other hand, the image data of the element is the third common information.
Stored in image memory. Therefore, image data of elements can be shared, and image data edited with element position information and size information can be stored.

(へ)実施例 本発明の一実施例を以下に図面に従い説明する。第1図
は本発明の画像編集装置の一実施例を示すワードプロセ
ッサのブロック図で、(1)はマイクロプロセッサ(C
PU)で、リードオンリーメモリ(ROM)(2)に記
憶された手順(プログラム)に従い、各種演算、論理判
断を行いワードプロセッサ機能や、はがき自動作成機能
等の制御を行う。(3)はバスで、制御対象を指示する
信号を転送するアドレスバス、各種データを転送する双
方方向性のデータバス、各種制御対象に制御信号を印加
するコントロールバス(いずれも図示しない)からなる
(F) Embodiment An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a word processor showing an embodiment of the image editing device of the present invention, and (1) is a block diagram of a word processor showing an embodiment of the image editing device of the present invention.
The PU) performs various calculations and logical judgments in accordance with the procedures (programs) stored in the read-only memory (ROM) (2) to control the word processor function, automatic postcard creation function, etc. (3) is a bus, which consists of an address bus that transfers signals instructing control objects, a bidirectional data bus that transfers various data, and a control bus (none of which are shown) that applies control signals to various control objects. .

(4)はキーボードで、文字キー、数字キー、ファンク
ションキー、モード指示キー、カーソルキー等の各種キ
ーを備えている。(5)はキーボード制御部で、キーボ
ード(4)から入力されたデータをエンコードし信号及
びCPUに対するインクラブド信号をパス(3)に送る
。(6)はLCDからなるデイスプレィ、(7)はデイ
スプレィ制御部で、CPU(1)の制御下にデイスプレ
ィ(6)、表示用バッファメモリ(ビデオRAM)(8
)、キャラクタパターンを記憶したCGROM(9)を
制御しキーボード(3)から入力された文字や記号をC
GROM(9)でパターンに変更して表示用バッファメ
モリ(8)に展開してデイスプレィ(6)に表示したり
、可搬式メモリとしてのフロッピーディスク(10)に
記憶された画像情報をバッファメモリ(8)に書き込み
、これをデイスプレィ(6)に表示させたりする。
(4) is a keyboard, which is equipped with various keys such as character keys, numeric keys, function keys, mode instruction keys, and cursor keys. (5) is a keyboard control unit which encodes the data input from the keyboard (4) and sends a signal and an included signal to the CPU to the path (3). (6) is a display consisting of an LCD, and (7) is a display control unit that controls the display (6) and display buffer memory (video RAM) (8) under the control of the CPU (1).
), controls the CGROM (9) that stores character patterns and converts characters and symbols entered from the keyboard (3) into C
You can change the pattern in the GROM (9) and develop it in the display buffer memory (8) to display it on the display (6), or transfer image information stored in the floppy disk (10) as a portable memory to the buffer memory ( 8) and display it on the display (6).

(11)はフロッピーディスク(10)に対するデータ
の書き込み、読み出しを制御するフロッピーディスク制
御部である。(12)はランダムアクセスメモリ(RA
M)で、各種バッファレジスタからなり各種データを一
時的に記憶する。(13)は熱転写プリンタ等のプリン
タで、プリンタコントローラ(14)により制御されR
A M (12)のテキストデータ等を記録紙に印字す
る。
(11) is a floppy disk control unit that controls writing and reading of data to and from the floppy disk (10). (12) is a random access memory (RA)
M) consists of various buffer registers and temporarily stores various data. (13) is a printer such as a thermal transfer printer, and is controlled by a printer controller (14).
Print the text data etc. of A M (12) on recording paper.

上記ROM (2)にはシステム全体の制御、ワードプ
ロセッサ機能の制御、表示の制御、印字の制御等をなす
のシステムプログラム(Ml) 、第3図及び第4図に
示すフローチャートで実現される画像編集機能を含むは
がき作成プログラム(M2)、配置フォーマットを検索
するための7オーマツト索引テーブル(M3) 、配置
フォーマットの内容(編集画面上での配置領域の位置、
大きさ等の情報)を記憶した7オーマツトテーブル(M
4)   ’などを格納している。
The ROM (2) contains a system program (Ml) that controls the entire system, word processor functions, display, printing, etc., and image editing realized by the flowcharts shown in Figures 3 and 4. Postcard creation program (M2) including functions, 7-automatic index table (M3) for searching layout formats, content of layout formats (position of layout area on editing screen,
A 7-ohm table (M
4) Stores things such as '.

又、RAM(12)は、はがき作成プログラムにより作
成された結果(はがき画面のデータを)をコード情報の
形で記憶するはがきテキストメモリ(Mll) 、サン
プル画面のデータをコード情報の形で記憶するサンプル
テキストメモリ(M12)、パレット画面のデータをコ
ード情報の形で記憶するパレットテキストメモリ(M1
3) 、自動レイアウトのために必要なデータを一時的
に記憶する自動レイアウトデータメモリ(M14) 、
はがき画面、サンプル画面、パレット画面を種々の場面
で表示するために画面の種類(縦/横)及び画面の大き
さ、バッファメモリ(8)上での位置を記憶する画面管
理バッファ(M2S) 、画像編集時に用いる第1画像
バッファ(M16)及び第2画像バッファ(M17)各
種バッファ(M17) 、各種レジスタ(M2S)を含
んでいる。
Additionally, the RAM (12) is a postcard text memory (Mll) that stores the results (postcard screen data) created by the postcard creation program in the form of code information, and a postcard text memory (Mll) that stores the data of the sample screen in the form of code information. Sample text memory (M12), palette text memory (M1) that stores palette screen data in the form of code information.
3) automatic layout data memory (M14) that temporarily stores data necessary for automatic layout;
A screen management buffer (M2S) that stores the screen type (vertical/horizontal), screen size, and position on the buffer memory (8) in order to display postcard screens, sample screens, and palette screens in various situations; It includes a first image buffer (M16), a second image buffer (M17), various buffers (M17), and various registers (M2S) used during image editing.

前記はがきテキストメモリ(M“11)に記憶されるデ
ータ構造は第6図に模式的に示され、用紙(マージンを
除いたはがき画面の編集領域)の大きさ情報(m mと
datでもつ)、被配置要素の個数、1要素ごとに次の
情報ブロック、即ち要素のNo(要素識別情報)、用紙
での配置位置、配置状態での要素の大きさ情報、データ
の形式(コード、アウトライン、イメージの種別)、タ
イプ(タイトル、イラスト、定型文の種別)、標準の大
きさ(フロッピーディス、り(10)に記憶されている
要素の大きさ情報)、などからなる情報ブロックが要素
の個数分連続する。このはがきテキストメモリのデータ
を基にシステムプログラムの表示プログラムはデイスプ
レィ画面に作成中、あるいは作成済みのはがき画面を表
示し、印刷プログラムは作成中、あるいは作成済みのは
がき画面をはがきに印字するものである。パレットテキ
ストメモリ及びサンプルテキストメモリのデータ構造は
はがきテキストメモリのデータ構造と同じであり、説明
を省略する。そしてこれらテキストメモリに記憶される
被配置要素のNoに対する画像データ(ドツト又はアウ
トラインデータ)はあらかじめ図示しないフロッピーデ
ィスクに要素No及び要素の大きさ情報と共に記憶され
ている。サンプル画面、テキスト画面やパレット画面を
表示する際にテキストメモリの要素Noを参照して、同
要素Noに対応する画像データをディスクから読み出し
てバッファ・メモリ(8)に書き込み表示する。従って
、いずれのテキストメモリにも要素は画像データ(実施
例ではアウトラインデータか、イメージ(ドツト)デー
タの形で記憶される)の形では記憶されず、要素No大
きさ情報及び位置情報からなるコード情報め形で記憶さ
れる。 上記自動レイアウトメモリ(M14)はパレッ
ト画面上の被配置要素を編集画面の配置7オーマツトに
配置する計算を行うための元データ及び計算結果データ
を記憶するメモリで、計算結果は上述の7オーマツトで
はがきテキストメモリ(Mll)に記憶される。
The data structure stored in the postcard text memory (M"11) is schematically shown in FIG. , the number of elements to be placed, the next information block for each element, that is, the element number (element identification information), the placement position on the paper, the size information of the element in the placement state, the data format (code, outline, The number of elements is an information block consisting of the type (type of image), type (type of title, illustration, fixed phrase), standard size (size information of the element stored on the floppy disk (10)), etc. Based on the data in this postcard text memory, the display program of the system program displays the postcard screen being created or has been created on the display screen, and the print program displays the postcard screen being created or has been created as a postcard. The data structure of the palette text memory and sample text memory is the same as that of the postcard text memory, and the explanation will be omitted.Then, the image data ( dot or outline data) are stored in advance on a floppy disk (not shown) along with element numbers and element size information.When displaying a sample screen, text screen, or palette screen, the element numbers in the text memory are referred to and the same The image data corresponding to the element number is read from the disk and written to the buffer memory (8) for display. Therefore, in any text memory, the element is image data (in the example, outline data or image (dot) data). The automatic layout memory (M14) stores elements to be placed on the palette screen on the edit screen. Layout A memory for storing original data and calculation result data for performing calculations to be arranged in a 7-ormat format.The calculation results are stored in the postcard text memory (Mll) in the above-mentioned 7-ormat format.

以上の構成において、本発明の特徴とする画像編集機能
はROM(2)に記憶された処理手順により実現される
。この機能の特徴の概略を第2図に従い説明すると、は
がき画面(Dl)に配置したい画像構成要素(被配置要
素あるいは部品)を、被配置要素P1、P2、P3、・
・・・・を複数有したサンプル画面(D2)から選択し
て、パレット画面(D3)に入れておき、自動作成の指
示を与えるとパレット画面中の要素P1、P2、P3、
・・・・・に対応した適切な配置7オーマツトを自動的
に選択し、この配置7オーマツトに従い要素間の重なり
、はがき編集領域(マージン即ち余白を除いた領域)(
DIO)からのはみだしを、要素の移動と縮小とにより
調整(微調整)しながら7オーマツトの領域にレイアウ
トするものである。又、後で詳述するように、画像編集
モードで要素をサンプル画面(D2)又はパレット画面
(D3)からはがき画面(Dl)内へ拡大/縮小を伴う
(または伴わない)移動複写をさせたり、はがき画面(
DI)内で要素を移動複写、拡大/縮小をする画像編集
を行える点に特徴を有している。この画像編集はバッフ
ァ(8)と第1、第2画像バッファ(M16)<M1?
)等を用いて行い、編集が終了すると編集後の画像デー
タは要素の編集画面(DIO)上での位置データ、大き
さデータとしてはがきテキストメモリ(Mll)にコー
ドの形で記憶される。
In the above configuration, the image editing function, which is a feature of the present invention, is realized by the processing procedure stored in the ROM (2). An outline of the features of this function will be explained with reference to Fig. 2. Image components (placed elements or parts) to be placed on the postcard screen (Dl) can be placed in the placed elements P1, P2, P3, .
If you select from the sample screen (D2) that has multiple ... and put it in the palette screen (D3), and give an instruction for automatic creation, elements P1, P2, P3,
Automatically selects an appropriate 7-ormat layout that corresponds to the layout, and according to this 7-ormat layout, overlaps between elements, postcard editing area (margin, area excluding white space) (
DIO) is laid out in a 7-ormat area while adjusting (fine adjustment) by moving and reducing elements. Also, as will be detailed later, in the image editing mode, you can move and copy elements from the sample screen (D2) or palette screen (D3) into the postcard screen (Dl) with (or without) enlarging/reducing them. , postcard screen (
It is characterized by the ability to perform image editing by moving, copying, and enlarging/reducing elements within the DI. This image editing uses buffer (8) and first and second image buffers (M16) <M1?
) etc., and when editing is completed, the edited image data is stored in the postcard text memory (Mll) in the form of a code as position data and size data on the element editing screen (DIO).

上記の自動レイアウトでレイアウトできる要素(タイト
ル、イラスト、定型文、)は例えば20個とし、その中
に含まれる定型文の数の最大は、例えば10個とする。
The number of elements (titles, illustrations, fixed phrases, etc.) that can be laid out using the automatic layout described above is, for example, 20, and the maximum number of fixed phrases included therein is, for example, 10.

そして自動レイアウトにはあらかじめ記憶しているフォ
ーマットを利用するものと、フォーマットを使わないも
のとがある。
There are automatic layouts that use pre-stored formats and those that do not use formats.

前者の自動レイアウトでは7オーマツトのパターン数は
例えば98通りとし、その中で選ばれるパターンの形式
は、はがきの形式(縦向き、横向き)、パレット画面に
あるタイトルの個数(0゜1.2)、タイトルの形状(
縦長か横長か)、パレット画面にある要素の数、種類(
属性)によって自動的に選択されものとする。
In the former automatic layout, the number of 7-ormat patterns is, for example, 98, and the format of the pattern selected from among them is the format of a postcard (portrait, landscape), the number of titles on the palette screen (0° 1.2) , title shape (
vertical or horizontal), the number and type of elements on the palette screen (
attributes) shall be automatically selected.

より詳細に本発明の実施例のはがき自動作成機能、特に
画像編集機能を第3図に示すフローチャートと、第7−
1図〜第7−11図に示す表示画面に従い説明する。先
ず、第3図は、はがき自動作成の全体処理フローを示す
図で、初期メニュー画面(図示しない)で拡張機能指示
のソフトキー〔デイスプレィ(6)の表示画面の最下段
に表示されるキーで、キーボード(4)の対応するキー
の操作でキー人力されるコを押す(Sl)と、AI(自
動)はかき作成メニューを表示しくS2)、ここでAI
はがき作成を選択する(S3)と、はがきの用途メニュ
ーを表示する(S4、第7−1図)。 ここで、例えば
年賀状を選択する(S5)と、見本選択メニューを表示
する(S6、第7−2図)。ここで、表示画面には見本
縮小イメージ(11・・・)が6種類表示されている。
In more detail, the automatic postcard creation function, especially the image editing function, of the embodiment of the present invention is shown in the flowchart shown in FIG.
The explanation will be made according to the display screens shown in FIGS. 1 to 7-11. First, Figure 3 is a diagram showing the overall process flow for automatic postcard creation. On the initial menu screen (not shown), press the extended function instruction soft key [the key displayed at the bottom of the display screen (6)]. , press the corresponding key on the keyboard (4) (Sl) to display the AI (automatic) drawing creation menu.
When postcard creation is selected (S3), a postcard usage menu is displayed (S4, Figure 7-1). Here, for example, if a New Year's card is selected (S5), a sample selection menu is displayed (S6, Figure 7-2). Here, six types of reduced sample images (11...) are displayed on the display screen.

この各縮小イメージは後ではがき作成に用いられるはが
き見本画面(Dll)とは別個に予め縮小された状態で
記憶されていて、これが見本選択メニュー画面に表示さ
れる。現在カーソル(C)は「新規」の位置にあり、カ
ーソルキーの操作によってカーソルを所望の見本イメー
ジの部分に順次飛んで行かせることができ、カーソルの
移動に伴い見本縮小イメージ全体を無反転表示する。
Each of these reduced images is stored in a reduced state in advance separately from the postcard sample screen (Dll) that will be used later for postcard creation, and is displayed on the sample selection menu screen. The cursor (C) is currently in the "New" position, and by operating the cursor keys, the cursor can be moved to the desired part of the sample image in sequence, and as the cursor moves, the entire reduced sample image is displayed without inversion. do.

S7で新規[ソフトキーとしてはがき縦(新規)とはが
き横(新規)とがあり、いずれかを選択する]と、空白
のはがき画面(Dl)とサンプル画面(D2)とを前者
を左にして左右に表示(S8、第7−3図)する。はが
きが縦か横かのデータは画面管理バッファ(M2S)に
セットされると共にはがきテキストメモリ(Mll)に
も書き込まれる。見本を選択すると、見本のはがき画面
(Dil)とサンプル画面(D2)とを前者を左にして
左右に表示(S9、図示しない)する。
In S7, select New [Soft keys include Postcard Portrait (New) and Postcard Landscape (New), select either], and display a blank postcard screen (Dl) and sample screen (D2) with the former on the left. Display on the left and right (S8, Figure 7-3). Data indicating whether the postcard is vertical or horizontal is set in the screen management buffer (M2S) and also written into the postcard text memory (Mll). When a sample is selected, a sample postcard screen (Dil) and a sample screen (D2) are displayed on the left and right with the former on the left (S9, not shown).

このはがき見本のデータは前述のはがきテキストのデー
タと同じデータ、即ち用紙サイズ、見本中に含まれてい
る要素の個数、要素毎のNo、位置情報大きさ情報等か
らなり、要素の画像データ(アウトラインデータ)と共
にフロッピーディスク(10)に格納されている。そし
て、あるはがき見本の表示が指示されると上記はがき見
本データがフロッピーディスクから読み出されて表示さ
れると共に、同見本データははがきテキストメモリ(M
ll)に書き込まれる。
This postcard sample data consists of the same data as the postcard text data described above, that is, the paper size, the number of elements included in the sample, the number of each element, position information, size information, etc., and the image data of the elements ( outline data) is stored on a floppy disk (10). When the display of a certain postcard sample is instructed, the above-mentioned postcard sample data is read out from the floppy disk and displayed, and the sample data is also stored in the postcard text memory (M
ll).

はがきを作成する場合、新規空白のはがきから作成する
場合と、はがき見本から出発してこれを修正編集する場
合とがあるが、前者の場合においてはS8を経てSIO
で、サンプル画面(D2)またはパレット画面(D3)
から被配置要素を直接はがき画面(Dl)にカーソルで
要素を指定し移動させて移動複写する非自動レイアウト
機能と、−度パレット画面(D3)を表示させてサンプ
ル画面(D2)から被配置要素をパレット画面(D3)
に実行キー操作により移動した後、自動レイアウト機能
でパレットM面(D3)上の被配置要素をはがき画面(
Dl)内に自動的にレイアウトする自動レイアウト機能
が可能である。又後者の場合も同様にサンプル画面(D
2)又はパレット画面(D3)から直接要素を移動させ
て編集する場合と、パレット画面(D3)経由で自動レ
イアウト機能で編集することができるが、異なるのはは
がき見本画面(Dll)にすでに被配置要素が含まれて
いると共にパレット画面(D3)に見本画面(Dll)
の被配置要素が含まれていて、これをそのまま用いては
がき作成を行うことができる点である。
When creating a postcard, there are two cases: starting from a new blank postcard, and starting from a postcard sample and modifying and editing it. In the former case, SIO is created after S8.
Then, the sample screen (D2) or palette screen (D3)
There is a non-automatic layout function that directly specifies the element to be placed on the postcard screen (Dl) with the cursor, moves it, and copies it, and a non-automatic layout function that allows you to move and copy the element directly from the postcard screen (Dl). Palette screen (D3)
After moving to by pressing the execution key, the automatic layout function moves the element to be placed on the palette M side (D3) to the postcard screen (
An automatic layout function that automatically lays out data within Dl) is possible. In the latter case, the sample screen (D
2) Alternatively, you can edit by directly moving elements from the palette screen (D3), or you can edit them using the automatic layout function via the palette screen (D3), but the difference is that if the postcard sample screen (Dll) is already covered. Contains placement elements and a sample screen (Dll) on the palette screen (D3)
This feature includes elements to be placed, and can be used as is to create postcards.

ここで要素の移動、拡大/縮小機能を第4図のフローチ
ャート及び第5図のバッファメモリ(8)の模式図に従
い説明する。
Here, the element movement and enlargement/reduction functions will be explained with reference to the flowchart in FIG. 4 and the schematic diagram of the buffer memory (8) in FIG.

第7−3図においてカーソル(C)を羊のイラスト要素
(P)に移して、編集キー(K1)を押す(Sll)と
テキスト編集モードから画像(イメージ)編集モードと
なる。512で画面が第7−4図に変りカーソルの示す
要素(P)のNo、位置、大きさ情報をサンプルテキス
トメモリ(M12)がら取り出し編集用要素バッファ(
各種バッファ(M18)の1つ)に記憶する。画面上で
はカーソルの位置する要素は黒反転状態(テキスト編集
時のカーソル)から枠表示(イメージ編集時のカーソル
)に変化する。次に512で得た要素(P)の位置情報
はサンプル編集画面(サンプルテキスト領域)(D20
)の原点(先頭)(02)からの位置(xp2 )(Y
 P 2 )をバッファ(VRAM)(8)のデイスプ
レィ表示画面(DS)全体原点(先頭)(O)からの位
置情報(X2+XP2.Y2+YP2)に変換する(5
13)。ここではバッファ(8)の先頭を画面(DS)
の先頭にしている。そして、S14で要素(P)のバッ
ファ(8)上でののイメージデータを第1画像バッファ
(M16)にセーブし、S15で表示画面(DS)全体
のイメージを第2画像バッファ(M17)に記憶し、S
16でキー待ちとなる。
In FIG. 7-3, when the cursor (C) is moved to the sheep illustration element (P) and the edit key (K1) is pressed (Sll), the text editing mode changes to the image editing mode. At 512, the screen changes to Fig. 7-4, and the No., position, and size information of the element (P) indicated by the cursor is retrieved from the sample text memory (M12) and the editing element buffer (
The data is stored in one of various buffers (M18). On the screen, the element where the cursor is located changes from a black inversion state (cursor when editing text) to a frame display (cursor when editing image). Next, the position information of the element (P) obtained in step 512 is stored in the sample editing screen (sample text area) (D20
) from the origin (start) (02) (xp2) (Y
P 2 ) into position information (X2+XP2.Y2+YP2) from the entire origin (start) (O) of the display screen (DS) of the buffer (VRAM) (8) (5
13). Here, the beginning of the buffer (8) is the screen (DS)
It's at the beginning. Then, in S14, the image data of the element (P) on the buffer (8) is saved in the first image buffer (M16), and in S15, the image of the entire display screen (DS) is saved in the second image buffer (M17). Remember, S
At 16, it will wait for a key.

次いで、要素(P)をはがき編集画面(はがきテキスト
領域)(DIO)へ移動させるべくカーソルキーの左方
向移動操作を行うと、要素(P)は左方向へ移動し始め
る。このキー操作は上下左右に可能である。この操作に
伴いS17で移動操作に応じて要素(P)の原点(0)
からの位置情報を更新し、818で第1画像バツフア(
M16)の内容をバッファ(8)に書き込む。これは移
動後の要素(P)のイメージを書き込む前に行うバッフ
ァ(8)の初期イメージセット動作である。
Next, when the cursor key is operated to the left to move the element (P) to the postcard editing screen (postcard text area) (DIO), the element (P) begins to move to the left. This key operation can be performed up, down, left and right. Along with this operation, in S17, the origin (0) of the element (P) is set according to the movement operation.
The location information is updated from 818, and the first image buffer (
Write the contents of M16) to buffer (8). This is an initial image setting operation of the buffer (8) performed before writing the image of the moved element (P).

次いで、S19において第2画像バッファ(M17)の
イメージを317で得た位置情報をもとにバッファ(8
)に書き込む。こうした516−317−818−81
9−S16の繰り返しで要素(P)はカーソル操作によ
って操作者の望む方向に望む量だけ移動し、この移動状
態がリアルタイムにデイスプレィ(6)に表示される。
Next, in S19, the image in the second image buffer (M17) is transferred to the buffer (8) based on the position information obtained in step 317.
). Such 516-317-818-81
By repeating 9-S16, the element (P) is moved by the desired amount in the direction desired by the operator by the cursor operation, and this moving state is displayed on the display (6) in real time.

第7−5図は要素(P)の移動の途中を示している。FIG. 7-5 shows the movement of the element (P).

要素(P)ははがき編集画面(DIO)内に収まるよう
に、例えば第5図の実線及び第7−6図の破線で示す位
置に移動したとしこの位置に決定したいとすると、操作
者はデイスプレィのメツセージに従い実行キー(キーボ
ード(4)の1つのキー)を押す。すると320で要素
(P)のバッファ(8)の原点(0)からの位置を確定
、(この情報を前記編集用要素バッファに書き込む)す
ると共にイメージカーソル(CI)枠内のイメージを消
去し、S21でキー人力待ちとなる。ここで要素(P)
の大きさを拡大したいとき、カーソルキーを操作すると
322で要素(P)の左上隅(先頭)位置(OPI)を
中心に枠が拡大表示されると共に移動した要素(P)の
大きさ(xpl、ypl)を拡大した値に更新し、前記
編集用要素バッファに書き込む。
If the element (P) is moved to the position shown by the solid line in Figure 5 and the broken line in Figure 7-6 so that it fits within the postcard editing screen (DIO), and you want to set it to this position, the operator will Press the execution key (one key on the keyboard (4)) according to the message. Then, in step 320, the position of the element (P) from the origin (0) of the buffer (8) is determined (this information is written to the editing element buffer), and the image within the image cursor (CI) frame is erased. Waiting for key personnel at S21. Here element (P)
When you want to enlarge the size of the element (P), when you operate the cursor key, a frame is enlarged and displayed centered on the upper left corner (start) position (OPI) of the element (P) at 322, and the size (xpl) of the moved element (P) is displayed. , ypl) to the enlarged value and write it to the editing element buffer.

こうしたカーソル操作で第7−6図の如く所望の大きさ
に枠を拡大し、実行キーを押すと、S23でカーソル枠
がはがき編集領域内に収まっているかどうかをチエツク
する。ここでNOの場合、例えば第7−5図の如く移動
要素(P)がはがき編集画面内に納まっていない状態や
、サンプル画面やパレット画面内に位置している状態で
実行キーを押し画像編集を終了すると、はがき画面内に
移動させて下さい等のエラーメツセージを表示する。こ
うすることで、はがき画面以外のサンプル画面及びパレ
ット画面内での画像編集を禁じ不必要な意味のない画像
編集が行われないよう構成している。
By operating the cursor in this manner, the frame is enlarged to a desired size as shown in FIG. 7-6, and when the execution key is pressed, it is checked in S23 whether the cursor frame is within the postcard editing area. If NO here, for example, as shown in Figure 7-5, if the moving element (P) does not fit within the postcard editing screen or is located within the sample screen or palette screen, press the execute key to edit the image. When it ends, an error message such as "Please move it to the postcard screen" will be displayed. In this way, image editing is prohibited in the sample screen and palette screen other than the postcard screen, and unnecessary and meaningless image editing is prevented from being performed.

S23でYESが判定されるとS24で移動した要素(
P)のサイズを確定し、前記編集用要素バッファに書き
込み、S25でバッファ(8)の原点(0)からの位置
情報をはがきテキスト領域(Dlo)での位置情報(原
点01からの位置情報)に変換し、S26でこの位置情
報と前記要素バッファの情報をもとにはがきテキストメ
モリ(M13)に移動された要素(P)の情報を書き込
み、S27でデイスプレィ(6)に表示する。この表示
は要素(Pl)の要素NO1からフロッピーディスク(
10)に格納されたイメージデータを読み出し、はがき
テキストメモリ(Mll)の画像編集後の要素の大きさ
情報とディスク(10)から得た要素の元の(標準)大
きさ情報及びイメージ(アウトライン)データとから拡
大処理を行いメモリ(Mll)から得た要素(P 1 
)の位置情報をもとに拡大したイメージデータをバッフ
ァ(8)に書き込むことでなされる。S21での実行キ
ー操作は画像(イメージ)編集モード、即ちテキストメ
モリ(Mll) (M12)からバッファ(8)へのデ
ータ転送がなくバッファ(8)上でのドツト (1ドツ
トでなく数ドツト単位でも良い)の移動、拡大/縮小の
画像編集を行う画像モードが終了したことを意味し、は
がき編集画面(DIO)及びサンプル編集画面(D20
)はイメージ編集モードからテキスト編集モード、即ち
テキストメモリ(Mll)(M12)から、バッファ(
8)へデータを書き込み表示するモードに変わる。その
結果、テキストカーソル(C)は要素単位で移動する。
If YES is determined in S23, the moved element (
Determine the size of P), write it to the editing element buffer, and in S25 position information from the origin (0) of the buffer (8) in the postcard text area (Dlo) (position information from the origin 01) In S26, information on the moved element (P) is written in the postcard text memory (M13) based on this position information and the information in the element buffer, and is displayed on the display (6) in S27. This display is from element No. 1 of element (Pl) to floppy disk (
10) Read the image data stored in the disk (10), and read out the size information of the element after image editing in the postcard text memory (Mll), the original (standard) size information of the element obtained from the disk (10), and the image (outline). The element (P 1
This is done by writing enlarged image data to the buffer (8) based on the position information of ). The execution key operation in S21 is in the image editing mode, that is, there is no data transfer from the text memory (Mll) (M12) to the buffer (8), and a dot (in units of several dots, not one dot) on the buffer (8) is executed. This means that the image mode for editing images such as moving and enlarging/reducing the postcard editing screen (DIO) and sample editing screen (D20
) changes from the image editing mode to the text editing mode, that is, from the text memory (Mll) (M12) to the buffer (
8) The mode changes to write and display data. As a result, the text cursor (C) moves element by element.

この画像編集終了により編集後のはがき画面の内容は1
枚のドツトデータとして記憶されるのではなく、はがき
テキストメモリ(Mll)に編集画面の大きさ、要素N
O1大きさ、編集画面上の位置情報を含むコード情報で
記憶されることになる。尚、縮小動作も元の要素の大き
さよりもイメージカーソル枠の大きさを小さくすること
で上記の拡大と同様に可能である。編集画面の大きさは
1つの固定したものであればテキストメモリ(Mll)
に書き込む必要はないが通常何種類かあるので書き込む
必要がある。要素のイメージ情報は本実施例ではフロッ
ピーディスク(10)に格納されているが半導体ROM
に記憶する様にしても良い。又、はがきテキストメモリ
(Mll)に要素の標準大きさ情報を書き込む様構成し
ているが、フロッピーディスク(lO)にその情報が記
憶されているので、必要な都度読み出して利用しても良
い。
After completing this image editing, the content of the postcard screen after editing is 1.
The size of the editing screen and the number of elements are stored in the postcard text memory (Mll) instead of being stored as dot data.
It will be stored as code information including O1 size and position information on the editing screen. Incidentally, the reduction operation is also possible in the same way as the above-mentioned enlargement by making the size of the image cursor frame smaller than the size of the original element. If the size of the editing screen is one fixed size, use text memory (Mll)
It is not necessary to write in the ``Password'', but there are usually several types, so it is necessary to write in it. The image information of the element is stored in the floppy disk (10) in this embodiment, but it is stored in the semiconductor ROM.
It is also possible to store the information in the following manner. Further, although the standard size information of the element is written in the postcard text memory (Mll), since this information is stored in the floppy disk (IO), it may be read out and used whenever necessary.

@7−8図〜第7−11図は他の画像編集を説明するも
のので、第7−8図の状態は画像編集モードでパレット
画面(D3)から要素をはがき画面(Dl)へ他の要素
と重なる位置まで移動して画像編集モードを終了し、テ
キストモード状態となった状態を示している。ここで編
集キー(K1)を押す(Sll)と第7−9図の状態と
なり、カーソルキーの操作で要素を斜下方へ移動させる
(第7−10図)。この時点では移動要素のイメージは
タイトル文字との重なったバッファ(8)の内容となっ
ている。そして、第7−10図で実行キーを押すと82
3〜S26の処理によりバッファ(8)の要素の内容は
テキストメモリ(Mll)からのデータによって書き換
えられ、重なりがない状態となる(第7−11図)。
@Figures 7-8 to 7-11 explain other image editing, so the state in Figure 7-8 is image editing mode when elements are transferred from the palette screen (D3) to the postcard screen (Dl). This shows a state in which the image editing mode is ended by moving to a position overlapping an element, and the text mode state is entered. Here, when the edit key (K1) is pressed (Sll), the state shown in FIG. 7-9 is created, and the element is moved diagonally downward by operating the cursor keys (FIG. 7-10). At this point, the image of the moving element is the content of the buffer (8) overlapping the title character. Then, when you press the execution key in Figure 7-10, 82
Through the processing of steps 3 to S26, the contents of the elements in the buffer (8) are rewritten with data from the text memory (Mll), so that there is no overlap (Fig. 7-11).

このように、パレット画面からはがき画面への直接の要
素の移動編集、はがき画面内での要素の移動、拡大/縮
小が可能である。尚、編集終了時にはがき画面内で移動
を設定した要素を元に残したままで移動処理するよう構
成できる。
In this way, it is possible to move and edit elements directly from the palette screen to the postcard screen, and to move and enlarge/reduce elements within the postcard screen. It should be noted that, upon completion of editing, the element to be moved within the postcard screen can be configured to be moved while remaining in its original state.

尚、本発明は上記の実施例に限定されるものではなく、
第7−4図の如く左に作成しようとするはがき画面を、
右にサンプル画面を表示しているが、右に作成済みのは
がき画面を表示させて画像編集を可能としても良い。又
、上記実施例で予め要素のイメージ情報等をフロッピー
ディスク(10)に記憶してこれを利用する様構成して
いるが、画像編集の際画像要素を切り出しこれにN。
Note that the present invention is not limited to the above embodiments,
As shown in Figure 7-4, the postcard screen to be created is shown on the left.
Although a sample screen is displayed on the right, a created postcard screen may also be displayed on the right to enable image editing. Further, in the above embodiment, the image information of the element is stored in advance on the floppy disk (10) and used, but when editing the image, the image element is cut out and stored in N.

(識別情報)を付し、大きさ情報と共にイメージデータ
を適宜のメモリに格納し、これを利用する様構成しても
良い。この場合イメージデータは自動アウトラインデー
タ作成装置を具備することで、データを圧縮して記憶さ
せることが望ましい。又、ドツトデータのMH,MRに
よる圧縮した結果とアウトラインによる圧縮した結果を
比較しデータ量の少ない方でイメージデータを記憶する
ようにしても良い。
(Identification information) may be added to the image data, and the image data may be stored in an appropriate memory together with size information, and this may be used. In this case, it is desirable to compress and store the image data by providing an automatic outline data creation device. Alternatively, the result of compressing dot data using MH and MR and the result of compressing it using outline may be compared, and the image data with the smaller amount of data may be stored.

(ト)効果 上記の如く構成される本発明に依れば、ドツト単位の画
像編集前と後で編集画面上の構成要素の数が同じで、位
置や大きさのみ異なる場合、編集後の記憶データ量を大
幅に減少させることができると共に、従来と同様なドツ
ト単位の画像編集を行える等効果が大きい。
(G) Effect According to the present invention configured as described above, if the number of components on the editing screen is the same before and after image editing in units of dots, but differs only in position and size, the memory after editing is It has great effects, such as being able to significantly reduce the amount of data and allowing dot-by-dot image editing similar to the conventional method.

【図面の簡単な説明】[Brief explanation of drawings]

図は全て本発明の詳細な説明するものであって、第1図
は装置全体のブロック構成図、第2図は機能の概略を説
明する説明図第3図は全体のフローチャート、第4図は
画像編集のフローチャート、第5図はバッファメモリの
模式図、第6図はテキストメモリのデータ構造を示す模
式図、第7−1図〜第7−11図は各状態別の表示画面
の模式図である。 (M2)・・・はがき作成プログラム、(M12)・・
・サンプルテキストメモリ、(M13)・・・パレット
テキストメモリ、 (1)・・・CPU、  (2)・
・・ROM、 (4)・・・キーボード、(6)・・・
デイスプレィ、(13)・・・AM
All of the figures explain the present invention in detail, and FIG. 1 is a block diagram of the entire device, FIG. 2 is an explanatory diagram explaining the outline of functions, FIG. 3 is an overall flowchart, and FIG. 4 is a block diagram of the entire device. Image editing flowchart, Figure 5 is a schematic diagram of the buffer memory, Figure 6 is a schematic diagram showing the data structure of the text memory, and Figures 7-1 to 7-11 are schematic diagrams of the display screen for each state. It is. (M2)...Postcard creation program, (M12)...
・Sample text memory, (M13)...Palette text memory, (1)...CPU, (2)・
...ROM, (4)...Keyboard, (6)...
Display, (13)...AM

Claims (2)

【特許請求の範囲】[Claims] (1)編集画面上の所定領域を編集対象要素として編集
を行うものにおいて、編集画面の画像情報をドット情報
として記憶する第1画像メモリと、第1画像メモリに記
憶された画像情報を表示する表示手段と、前記編集画面
の大きさ情報と編集対象要素の要素識別情報、編集画面
上での位置情報及び大きさ情報とをコード情報で記憶す
る第2画像メモリと、前記編集対象要素の画像情報をド
ット情報またはアウトライン情報の形で記憶する第3画
像メモリと、前記第1画像メモリ上で編集対象要素に対
しドット単位の編集を行う画像編集手段と、この画像編
集手段による編集終了後に編集画面及び編集対象要素の
情報を前記第2画像メモリに記憶保存する記憶制御手段
とを具備する画像編集装置。
(1) When editing a predetermined area on an editing screen as an editing target element, a first image memory stores image information on the editing screen as dot information, and the image information stored in the first image memory is displayed. a second image memory that stores size information of the editing screen, element identification information of the editing target element, position information and size information on the editing screen as code information, and an image of the editing target element. a third image memory for storing information in the form of dot information or outline information; an image editing means for editing the editing target element dot by dot on the first image memory; and editing after the editing by the image editing means is completed. An image editing device comprising: a storage control means for storing information on a screen and an element to be edited in the second image memory.
(2)請求項(1)に記載の画像編集装置において、第
2画像メモリ及び第3画像メモリの記憶手段の内容に基
ずいて編集対象要素を第1画像メモリにドット展開して
前記表示手段に表示する表示制御手段を具備する画像編
集装置。
(2) In the image editing apparatus according to claim (1), the display means expands the editing target element into dots in the first image memory based on the contents of the storage means of the second image memory and the third image memory. An image editing device comprising display control means for displaying images on an image.
JP2282531A 1990-10-19 1990-10-19 Image edit device Pending JPH04156684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2282531A JPH04156684A (en) 1990-10-19 1990-10-19 Image edit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2282531A JPH04156684A (en) 1990-10-19 1990-10-19 Image edit device

Publications (1)

Publication Number Publication Date
JPH04156684A true JPH04156684A (en) 1992-05-29

Family

ID=17653674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2282531A Pending JPH04156684A (en) 1990-10-19 1990-10-19 Image edit device

Country Status (1)

Country Link
JP (1) JPH04156684A (en)

Similar Documents

Publication Publication Date Title
JPH028339B2 (en)
JPH026072B2 (en)
JPH04156684A (en) Image edit device
JP3277588B2 (en) Image editing method
JP2542965B2 (en) Image editing equipment
US5333253A (en) Apparatus for writing a document under two-document display condition
JPS6244866A (en) Area format setting system
JPS61121163A (en) Picture processing system
JPS62179064A (en) Picture processing system
JPS62197873A (en) Image processor
JPH103371A (en) Page layout comparator and page layout display device
JPH04156685A (en) Image selection device
JPS63244224A (en) Document printing device
JPH05151216A (en) Document processor with frame editing function
JPH03137764A (en) Document processor
JPH05210658A (en) Document preparing device
JP2000215197A (en) Text processor with guide display function and storage medium storing program for its text processing
JPH04247559A (en) Document processor
JPH03116267A (en) Table frame extending method for word processor
JPH057742B2 (en)
JPH05151215A (en) Document processor with frame editing function
JPH076167A (en) Format setting method
JPH07114540A (en) Document preparation device and display control method
JPS63208932A (en) Document processor
JPS62204377A (en) Document producing device