DE102004054548B4 - Method for generating an image - Google Patents

Method for generating an image Download PDF

Info

Publication number
DE102004054548B4
DE102004054548B4 DE200410054548 DE102004054548A DE102004054548B4 DE 102004054548 B4 DE102004054548 B4 DE 102004054548B4 DE 200410054548 DE200410054548 DE 200410054548 DE 102004054548 A DE102004054548 A DE 102004054548A DE 102004054548 B4 DE102004054548 B4 DE 102004054548B4
Authority
DE
Germany
Prior art keywords
image
color
graphical element
entries
additional
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.)
Active
Application number
DE200410054548
Other languages
German (de)
Other versions
DE102004054548A1 (en
Inventor
Bodo Teichmann
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.)
BRANDAD SYSTEMS AG, 90762 FUERTH, DE
Original Assignee
BRANDAD SYSTEMS AG
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 BRANDAD SYSTEMS AG filed Critical BRANDAD SYSTEMS AG
Priority to DE200410054548 priority Critical patent/DE102004054548B4/en
Publication of DE102004054548A1 publication Critical patent/DE102004054548A1/en
Application granted granted Critical
Publication of DE102004054548B4 publication Critical patent/DE102004054548B4/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour

Abstract

Verfahren zum Erzeugen eines Bildes, dem eine Farbpalette zugeordnet ist, die einen oder mehrere Farbeinträge für das Bild aufweist, mit folgenden Schritten: (a) Erzeugen (S200) des Bildes mit zumindest einem zusätzlichen graphischen Element; (b) Speichern (S202) der sich aus dem im Schritt (a) erzeugten Bild ergebenden Farbpalette, die die Farbeinträge für das Bild und das zumindest eine zusätzliche graphische Element aufweist; (c) Erzeugen (S204) des Bildes ohne das zumindest eine zusätzliche graphische Element unter Verwendung der im Schritt (b) gespeicherten Farbpalette; und (d) Speichern (S206) des im Schritt (c) erzeugten Bildes, dem die im Schritt (b) gespeicherte Farbpalette zugeordnet ist, wobei der Schritt (a) das Anordnen des zumindest einen zusätzlichen graphischen Elements in einem einfarbigen Bereich des Bildes umfasst.A method of producing an image associated with a color palette having one or more color entries for the image, comprising the steps of: (a) generating (S200) the image with at least one additional graphical element; (b) storing (S202) the color palette resulting from the image generated in step (a), having the color entries for the image and the at least one additional graphical element; (c) generating (S204) the image without the at least one additional graphical element using the color palette stored in step (b); and (d) storing (S206) the image generated in step (c) associated with the color palette stored in step (b), wherein step (a) comprises placing the at least one additional graphic element in a monochrome region of the image ,

Description

Die vorliegende Erfindung bezieht sich auf ein Verfahren zum Erzeugen eines Bildes und insbesondere auf ein Verfahren zum Erzeugen eines Pixel-Bildes, dem eine Farbpalette zugeordnet ist, die einen oder mehrere Farbeinträge für das Bild aufweist, wobei das Pixel-Bild durch Hinzufügung weiterer graphischer Elemente, ohne zusätzlicher Änderungen in der Farbpalette, ergänzt, werden kann. Ferner bezieht sich die vorliegenden Erfindung auf ein Pixel-Bild, insbesondere ein Pixel-Bild im GIF-Format (GIF = Graphics Interchange Format) oder ein PNG-Bild (PNG = Portable Network Graphics), welches ohne weitere Änderungen der diesem Pixel-Bild zugeordneten Farbpalette um weitere graphische Elemente ergänzt werden kann.The present invention relates to a method of generating an image, and more particularly to a method of generating a pixel image associated with a color palette having one or more color entries for the image, the pixel image being added by adding further graphic elements , without additional changes in the color palette, can be supplemented. Further, the present invention relates to a pixel image, in particular a pixel image in GIF format (Graphics Interchange Format GIF) or a PNG image (PNG = Portable Network Graphics), which without further changes of this pixel image associated color palette can be supplemented by other graphic elements.

Im Stand der Technik ist es bekannt, Palettenbilder, also Bilder, denen eine Farbpalette zugeordnet ist, die einen oder mehrere Farbeinträge für die in dem Bild verwendeten Farben enthält, z. B. Pixel-Bilder im GIF-Format, dadurch herzustellen, dass das Pixel-Bild erzeugt wird, und diesem Pixel-Bild die erwähnte Farbpalette für den Bildinhalt zugeordnet wird. Solche Pixel-Bilder im GIF-Format finden beispielsweise bevorzugt Einsatz auf Webseiten, welche auf einem Webbrowser angezeigt werden, wobei die Pixel-Bilder im GIF-Format dann beispielsweise über die gut bekannte HTML-Sprache bereitgestellt werden. Ein Beispiel für ein solches Pixel-Bild sind die gut bekannten Werbebanner, die auf Webseiten eingesetzt werden, um dem Betrachter der Webseite zusätzliche Werbeinformationen bereitzustellen, wobei der entsprechende Bereich durch den Anbieter der Webseite an den Werbenden vermittelt und vermietet wird, wodurch dieser die im Regelfall kostenlose Bereitstellung der Inhalte auf der Webseite finanziert.It is known in the art to include palette images, that is images associated with a color palette containing one or more color entries for the colors used in the image, e.g. B. pixel images in GIF format, in that the pixel image is generated, and this pixel image the mentioned color palette for the image content is assigned. Such pixel images in GIF format, for example, are preferably used on web pages displayed on a web browser, the pixel images in GIF format then being provided, for example, via the well-known HTML language. An example of such a pixel image is the well-known banners used on web pages to provide the viewer of the web page with additional advertising information, the corresponding area being brokered and leased to the advertiser by the provider of the web page Usually free content provided on the website.

Wie erwähnt, werden für solche Werbebanner im Regelfall Pixel-Bilder im GIF-Format verwendet, also ein sogenanntes Palettenbild, wobei gemäß dem GIF-Standard maximal 256 Farben einer frei definierbaren Palette zugeordnet werden können. Genauer gesagt werden bei einem solchen Pixel-Bild die in dem Bild verwendeten Verfahren der Farbpalette in entsprechenden Einträgen in der Farbpalette zugeordnet, wobei hier entweder nur ein Farbeintrag für ein einfarbiges Bild oder bis zu maximal 256 Farbeinträge für ein vielfarbiges Bild definiert werden, wobei die Farbeinträge aus den verfügbaren Farben, beispielsweise des RGB-Raums, ausgewählt werden können. Nachdem ein solches Pixel-Bild erzeugt wurde, kann das Bedürfnis bestehen, dieses nachfolgend zu verändern, beispielsweise durch Hinzufügung eines zusätzlichen Textes, wobei die im Stand der Technik angewandte Vorgehensweise nachfolgend kurz anhand der 1 erläutert sei.As mentioned above, pixel images in GIF format are generally used for such advertising banners, ie a so-called palette image, whereby according to the GIF standard a maximum of 256 colors can be assigned to a freely definable palette. More specifically, in such a pixel image, the processes used in the image are assigned to the color palette in corresponding entries in the color palette, defining either only one color entry for a monochrome image or up to a maximum of 256 color entries for a multicolor image Color entries can be selected from the available colors, such as the RGB space. After such a pixel image has been generated, there may be a need to change it subsequently, for example, by adding additional text, the approach used in the prior art being described briefly below with reference to FIGS 1 is explained.

Zunächst wird auf die oben beschrieben Art und Weise das Pixel-Bild im GIF-Format erzeugt, wie dies beim Schritt S100 in 1 gezeigt ist. Ist es nun erwünscht, ein zusätzliches Textelement dem existierenden Pixel-Bild hinzuzufügen, so wird dieses Textelement ausgewählt und, wie im Schritt 102 gezeigt ist, dem existierenden Pixel-Bild hinzugefügt. Da das ursprüngliche Pixel-Bild eine Farbpalette enthält, die lediglich die in dem ursprünglichen Bild verwendeten Farben enthält, ist es nunmehr erforderlich, die für das ursprüngliche Pixel-Bild verwendete Farbpalette anzupassen, wie dies im Schritt S104 gezeigt ist. In diesem Schritt wird die Farbpalette angepasst, um nicht nur die Farbeinträge für das ursprüngliche Pixel-Bild zu enthalten, sondern zusätzlich die für das neu hinzugefügte Textelement erforderlichen Farbeinträge aufzunehmen, so dass sich für das Gesamtbild bestehend aus dem ursprünglichen Bild und dem zusätzlichen Textelement eine neue Farbpalette ergibt. Das so erzeugte neue Bild wird dann mit der überarbeiteten Farbpalette im GIF-Format im Schritt S106 zur weiteren Benutzung, beispielsweise zur Anzeige auf einer Webseite, bereitgestellt.First, in the manner described above, the pixel image is generated in the GIF format as in step S100 in FIG 1 is shown. If it is now desired to add an additional text element to the existing pixel image, that text element is selected and, as in the step 102 is added to the existing pixel image. Since the original pixel image contains a color palette containing only the colors used in the original image, it is now necessary to adjust the color palette used for the original pixel image, as shown in step S104. In this step, the color palette is adjusted to not only contain the color entries for the original pixel image, but also to include the color entries required for the newly added text element, so that the overall image consisting of the original image and the additional text element new color palette results. The new image thus created is then provided with the revised GIF format color palette in step S106 for further use, for example for display on a web page.

Wie die oben wiedergegebene, kurze Beschreibung der herkömmlichen Vorgehensweise zur Änderung eines Pixel-Bilds ohne weiteres zeigt, ist es hier erforderlich, quasimanuell, beispielsweise unter Zuhilfenahme eines Bildbearbeitungsprogramms, die erforderlichen Anpassungsschritte, insbesondere zur Erzeugung der Farbpalette, durchzuführen.As the above-given, brief description of the conventional procedure for changing a pixel image readily shows, it is here necessary to carry out quasi-manual, for example with the aid of an image processing program, the necessary adaptation steps, in particular for producing the color palette.

Betrachtet man den anhand der 1 näher beschriebenen, herkömmlichen Ansatz im Zusammenhang mit dem oben beschriebenen Beispiel für ein Werbebanner im GIF-Format, so ist im Hinblick auf die oben beschrieben Vorgehensweise gemäß dem Stand der Technik auf folgendes hinzuweisen. Für ein Werbebanner im GIF-Format kann eine maximale Dateigröße vorgegeben sein oder es kann die Situation eintreten, in der die GIF-Farbpalette bereits alle Farbeinträge besetzt hat, also Farbeinträge für alle 256 möglichen Farben verwendet. Wenn in diesem Fall das existierende Bild beispielsweise als Hintergrund benutzt werden soll, zu dem ein Text mit einer bestimmten Schriftart hinzugefügt werden soll, was womöglich noch mit einem Antialiasing der Kanten der Buchstaben einhergeht, dann ändern sich aufgrund der erforderlichen Anpassung die für die Darstellung des überarbeiteten Bildes erforderlichen Palettenfarben.If one considers the basis of the 1 In more detail, the conventional approach described in connection with the above-described example of a GIF format banner, reference should be made to the following with regard to the above-described procedure according to the prior art. For a banner in GIF format, a maximum file size may be given or the situation may arise in which the GIF color palette has already filled all the color entries, ie uses color entries for all 256 possible colors. If, in this case, the existing image is to be used, for example, as a background to which a text with a certain font is to be added, which possibly goes hand in hand with an antialiasing of the edges of the letters, then, due to the necessary adaptation, those for the representation of the image change revised image required palette colors.

Der Einfachheit halber sei ein Beispiel angenommen, bei dem das Werbebanner nur aus einem Blauton besteht, so dass in diesem Fall die optimierte Palette, die diesem Pixel-Bild zugeordnet ist, auch nur einen Farbeintrag für diesen Blauton umfasst. Wird jetzt ein zusätzlicher Text hinzugefügt, beispielsweise über den Blauton gelegt, der schwarz ist, dann ist es erforderlich, die Farbpalette dahingehend zu modifizieren, dass diese zumindest einen weiteren Farbeintrag für die Farbe Schwarz enthält, und gegebenenfalls sind noch weitere Farbeinträge in der Farbpalette einzufügen, wenn Abstufungen von Blau nach Schwarz aufgrund eines Font-Antialiasings (Kantenglättung für Buchstaben zur Verbesserung der Lesbarkeit) erforderlich sind.For the sake of simplicity, let us assume an example in which the banner only consists of a blue tone, so that in this case the optimized palette associated with that pixel image also includes only one color entry for that blue tone. If an additional text is now added, for example, placed over the blue tone, which is black, then it is necessary to the color palette to modify it to include at least one more color entry for the color black, and optionally further color entries to be inserted in the color palette when gradations from blue to black are required due to font antialiasing (edge smoothing for letters to improve readability).

Die oben beschriebene Vorgehensweise zur Änderung eines existierenden Pixel-Bilds hat somit eine Mehrzahl von Nachteilen, wobei hier zunächst zu nennen ist, dass aufgrund der Hinzufügung des Textes das Pixel-Bild, selbst nach der GIF-Codierung, größer wird, so dass für den Fall, dass das Pixel-Bild einer maximalen Größenbeschränkung unterworfen ist, dieses möglicherweise zu groß wird, um beispielsweise noch als Werbebanner akzeptiert zu werden. Zusätzlich ist die im Stand der Technik gelehrte Vorgehensweise dahingehend nachteilhaft, dass hier zusätzliche Paletteneinträge für die Farbe der Texteingabe bzw. die Schriftfarbe erforderlich sind, gegebenenfalls sogar mehrere Einträge, wenn, wie oben beschrieben wurde, ein Antialiasing zum Einsatz kommt.The above-described procedure for changing an existing pixel image thus has a number of disadvantages, it being first mentioned here that due to the addition of the text, the pixel image, even after the GIF coding, becomes larger, so that for the If the pixel image is subject to a maximum size limitation, this may become too large to be accepted as a banner, for example. In addition, the approach taught in the prior art is disadvantageous in that here additional palette entries are required for the color of the text input or the font color, possibly even multiple entries, if, as described above, anti-aliasing is used.

Wiederum ein weiterer Nachteil der oben beschriebenen Vorgehensweise tritt dann auf, wenn das ursprüngliche Pixel-Bild viele Farben verwendet, so dass alle oder fast alle Farbeinträge für die Palette bereits belegt sind. In diesem Fall ist es dann nicht mehr möglich, dass der zusätzliche Eintrag bzw. die zusätzlichen Einträge, die der Farbe des Textes zugeordnet sind, in die Palette aufgenommen werden können. Zwar existieren Möglichkeiten, diese Nachteile zu vermeiden, z. B. durch das Übereinanderlegen von zwei Bildern mit zwei Paletten, jedoch ist dies aufwendig und führt ferner zu einem größeren Speicherbedarf. Die dann mit der Ergänzung des ursprünglichen Bildes um die Textangabe einhergehende Modifikation der ursprünglichen Farbpalette fällt in dieser Situation noch um einiges komplizierter aus als in dem einfachen Fall, in dem weitere Farbeinträge hinzugefügt werden sollen. In diesem Fall müssen die verschiedenen Farbeinträge komplett überarbeitet werden, um ausreichend Platz für die neuen Einträge zu schaffen und gleichzeitig eine Anpassung der umgeordneten Farbeinträge zu ermöglichen. Dies geht selbstverständlich auch einher mit einer Änderung des Erscheinungsbildes des ursprünglichen Pixel-Bildes, was von einem Benutzer, im Regelfall, ebenfalls nicht erwünscht ist.Yet another disadvantage of the above-described procedure occurs when the original pixel image uses many colors, so that all or almost all the color entries for the palette are already occupied. In this case, it is then no longer possible for the additional entry or additional entries associated with the color of the text to be included in the palette. Although there are ways to avoid these disadvantages, for. For example, by superimposing two images with two pallets, but this is expensive and also leads to a larger storage requirements. The modification of the original color palette, which then accompanies the addition of the original image around the text specification, is even more complicated in this situation than in the simple case in which further color entries are to be added. In this case, the various color entries need to be completely redesigned to make room for the new entries while allowing the rearranged color entries to be adjusted. Of course, this is also accompanied by a change in the appearance of the original pixel image, which is usually undesirable for a user as well.

Hinsichtlich des Stands der Technik lässt sich somit zusammenfassend festhalten, dass dieser eine Änderung eines ursprünglichen Pixel-Bildes durch Hinzufügen eines oder mehrerer weiterer graphischer Elemente, beispielsweise von Textelementen, nur mit großem Aufwand und Einsatz ermöglicht.With regard to the state of the art, it can thus be stated in summary that this allows a change of an original pixel image by adding one or more further graphic elements, for example text elements, only with great effort and use.

Die US 5,459,486 A beschreibt einen Ansatz, um Paletten von mehreren Bildern in eine gemeinsam verwendete Palette zu kombinieren. Ferner werden Ansätze beschrieben, um Verzerrungen im Bild aufgrund der Kombination der Farbpaletten zu vermeiden.The US 5,459,486 A describes an approach to combine palettes of multiple images into a shared palette. Furthermore, approaches to avoid distortions in the image due to the combination of the color palettes are described.

Ausgehend von diesem Stand der Technik liegt der vorliegenden Erfindung daher die Aufgabe zugrunde, es zu ermöglichen, ein Pixel-Bild mit zugeordneter Farbpalette nach dessen Erzeugung ohne großen Aufwand und im wesentlichen automatisch um zumindest ein weiteres graphisches Element ergänzen zu können.Based on this prior art, the present invention is therefore based on the object to be able to complete a pixel image with associated color palette after its generation without much effort and essentially automatically by at least one further graphical element.

Diese Aufgabe wird durch ein Verfahren nach Anspruch 1 und durch ein Verfahren nach Anspruch 5 gelöst.This object is achieved by a method according to claim 1 and by a method according to claim 5.

Die vorliegende Erfindung schafft ein Verfahren zum Erzeugen eines Bildes, dem eine Farbpalette zugeordnet ist, die einen oder mehrere Farbeinträge für das Bild aufweist, mit folgenden Schritten:

  • (a) Erzeugen des Bildes mit zumindest einem zusätzlichen graphischen Element;
  • (b) Speichern der sich aus dem im Schritt (a) erzeugten Bild ergebenden Farbpalette, die die Farbeinträge aufweist, die die Farbeinträge für das Bild und das zumindest eine zusätzliche graphische Element aufweist;
  • (c) Erzeugen des Bildes ohne das zumindest eine zusätzliche graphische Element unter Verwendung der im Schritt (b) gespeicherten Farbpalette; und
  • (d) Speichern des im Schritt (c) erzeugten Bildes, dem die im Schritt (b) gespeicherte Farbpalette zugeordnet ist,
wobei der Schritt (a) das Anordnen des zumindest einen zusätzlichen graphischen Elements in einem einfarbigen Bereich des Bildes umfasst.The present invention provides a method of generating an image associated with a color palette having one or more color entries for the image, comprising the steps of:
  • (a) generating the image with at least one additional graphical element;
  • (b) storing the color palette resulting from the image generated in step (a) having the color entries comprising the color entries for the image and the at least one additional graphical element;
  • (c) generating the image without the at least one additional graphical element using the color palette stored in step (b); and
  • (d) storing the image generated in step (c) to which the color palette stored in step (b) is assigned,
wherein step (a) comprises placing the at least one additional graphical element in a monochrome area of the image.

Die vorliegende Erfindung schafft ferner ein Verfahren zum Modifizieren eines Bildes durch Hinzufügung zumindest eines weiteren graphischen Elements zu dem existierenden Bild mit folgenden Schritten:

  • (a) Bereitstellen des existierenden Bildes, das durch das oben beschriebene erfindungsgemäße Verfahren erzeugt wurde; und
  • (b) Hinzufügen des zumindest einen weiteren graphischen Elements zu dem im Schritt (a) bereitgestellten Bild, wobei die dem im Schritt (a) bereitgestellten Bild zugeordnete Farbpalette neben den Farbeinträgen für das Bild die Farbeinträge für das zumindest eine weitere graphische Element enthält.
The present invention further provides a method of modifying an image by adding at least one further graphical element to the existing image, comprising the steps of:
  • (a) providing the existing image generated by the inventive method described above; and
  • (b) adding the at least one further graphical element to the image provided in step (a), wherein the color palette associated with the image provided in step (a) contains, besides the color entries for the image, the color entries for the at least one further graphical element.

Gemäß einem Aspekt schafft die vorliegende Erfindung ferner ein digitales Speichermedium mit elektronisch auslesbaren Steuersignalen, die so mit einem programmierbaren Computersystem zusammenwirken können, dass das erfindungsgemäße Verfahren ausgeführt wird.In one aspect, the present invention further provides a digital storage medium with electronically readable control signals which can cooperate with a programmable computer system such that the method according to the invention is carried out.

Gemäß einem weiteren Aspekt schafft die vorliegende Erfindung ein Computerprogrammprodukt mit auf einem maschinenlesbaren Träger gespeicherten Programmcode zur Durchführung des erfindungsgemäßen Verfahrens, wenn das Programmprodukt auf einem Rechner abläuft.According to a further aspect, the present invention provides a computer program product with program code stored on a machine-readable carrier for carrying out the method according to the invention when the program product runs on a computer.

Gemäß wiederum einem weiteren Aspekt schafft die vorliegende Erfindung ein Computerprogramm mit Programmcode zur Durchführung des erfindungsgemäßen Verfahrens, wenn das Programm auf einem Computer abläuft.In yet another aspect, the present invention provides a computer program with program code for carrying out the method according to the invention when the program is run on a computer.

Vorzugsweise handelt es sich bei dem zusätzlichen graphischen Element um ein Textelement, wobei das zum Modifizieren des Bildes herangezogene weitere graphische Element und das zusätzliche Element vom gleichen Typ und, vorzugsweise, im wesentlichen von gleicher Größe sind.Preferably, the additional graphic element is a text element, the further graphical element used to modify the image and the additional element being of the same type and, preferably, substantially the same size.

Das Bild liegt vorzugsweise im GIF-Format vor, so dass die zugeordnete Farbtabelle maximal 256 Farbeinträge aufweist, wobei die erfindungsgemäß gespeicherte Farbtabelle zum einen Farbeinträge für das Bild sowie zusätzliche Farbeinträge für das zusätzliche graphische Element umfasst.The image is preferably in GIF format, so that the associated color table has a maximum of 256 color entries, wherein the color table stored according to the invention comprises on the one hand color entries for the image and additional color entries for the additional graphic element.

Die vorliegende Erfindung schafft somit einen Ansatz, um Palettenbilder, z. B. Bilder im GIF- oder PNG-Format, nachträglich ohne Veränderung der Palette automatisch ändern zu können. Gemäß einem bevorzugten Ausführungsbeispiel wird hierfür das GIF-Bild zusammen mit einem Beispieltext erzeugt, wobei dieser Text vorzugsweise nicht über einem Farbverlauf des Hintergrundbildes (GIF-Bildes) liegt, sondern der Bereich vorzugsweise einfarbig ist. Anschließend wird die sich aus diesem Gesamtbild (bestehend aus dem GIF-Bild/Hintergrundbild und dem Beispieltext) ergebende Palette mit den Farbeinträgen gespeichert und anschließend das GIF-Bild nochmals, jetzt aber ohne dem Beispieltext, aber mit der im vorhergehenden Verarbeitungsschritt gespeicherten Palette erzeugt. Hierdurch wird ein GIF-Bild erzeugt, welches für eine spätere Hinzufügung von zusätzlichen Textelementen ohne weitergehende Veränderung der Palette bereitgestellt wird.The present invention thus provides an approach to palletizing images, e.g. As images in GIF or PNG format, to be able to change automatically without changing the palette. According to a preferred embodiment, for this purpose, the GIF image is generated together with a sample text, wherein this text preferably does not lie above a color gradient of the background image (GIF image), but the region is preferably monochrome. Subsequently, the palette resulting from this overall image (consisting of the GIF image / background image and the sample text) is stored with the color entries and then the GIF image is generated again, but now without the sample text, but with the palette stored in the preceding processing step. This creates a GIF image which is provided for later addition of additional text elements without further alteration of the palette.

Ist eine Veränderung des GIF-Bildes zu einem späteren Zeitpunkt erwünscht, so wird dann lediglich die individuelle Schrift hinzugefügt, ohne dass die Palette verändert werden müsste, da beispielsweise für alle schwarzen Texte die erforderlichen Palettenfarben bereits in der anfänglich gespeicherten Palette enthalten sind. Weiterhin wird sich die Datengröße jetzt nur noch unwesentlich von der unterscheiden, die im ersten Schritt mit dem Beispieltext berechnet wurde, sofern der Beispieltext im wesentlichen ähnlich (hinsichtlich der Länge) zu dem hinzugefügten Text ist.If a change in the GIF image is desired at a later date, then only the individual font is added without having to change the palette, since, for example, for all black texts the required palette colors are already contained in the initially stored palette. Furthermore, the data size will now differ only insignificantly from that calculated in the first step with the example text, as long as the sample text is substantially similar (in terms of length) to the added text.

Anhand der beiliegenden Zeichnungen werden nachfolgend bevorzugte Ausführungsbeispiel der vorliegenden Erfindung näher erläutert. Es zeigen:Reference to the accompanying drawings, preferred embodiment of the present invention will be explained in more detail below. Show it:

1 ein Flussdiagramm, das ein herkömmliches Verfahren zum Ändern eines existierenden Pixel-Bildes im GIF-Format zeigt; und 1 a flowchart showing a conventional method for changing an existing pixel image in GIF format; and

2 ein Flussdiagramm des erfindungsgemäßen Verfahrens nach einem bevorzugten Ausführungsbeispiel. 2 a flow chart of the method according to the invention according to a preferred embodiment.

Anhand der 2 wird nachfolgend ein bevorzugtes Ausführungsbeispiel der vorliegenden Erfindung näher erläutert, wobei hier, wie auch schon in der Beschreibungseinleitung, die Erläuterung anhand eines Beispiels für ein Werbebanner erfolgt, welches ein Bild im GIF-Format ist, welches nur eine Farbe aufweist. Um ein solches Werbebanner für eine nachträgliche, automatische Änderung, beispielsweise durch die Hinzufügung eines erwünschten Textes, vorzubereiten, lehrt die vorliegende Erfindung einen neuartigen Ansatz, der deutlich einfacher ist als der aus dem Stand der Technik bekannte Ansatz und insbesondere auch ohne die Benutzung von Bildbearbeitungsprogrammen zur Änderung der Palette durchführbar ist, insbesondere auch durch nichtgeübte Benutzer.Based on 2 Hereinafter, a preferred embodiment of the present invention will be explained in more detail, in which case, as in the introduction to the description, the explanation is based on an example of an advertising banner, which is an image in GIF format, which has only one color. In order to prepare such an advertisement banner for a subsequent automatic change, for example by the addition of a desired text, the present invention teaches a novel approach which is considerably simpler than the approach known from the prior art and in particular also without the use of image processing programs To change the range is feasible, especially by non-trained users.

Erfindungsgemäß wird in einem ersten Schritt S200 das Pixel-Bild des Werbebanners im GIF-Format zusammen mit einem zusätzlichen Beispieltext erzeugt. Das Pixel-Bild ist beispielsweise ein blaues Rechteck, wobei der Beispieltext eine schwarze Farbe aufweisen soll.According to the invention, in a first step S200, the pixel image of the advertising banner is generated in GIF format together with an additional example text. For example, the pixel image is a blue rectangle, with the sample text being black in color.

Für dieses Bild wird die sich ergebende Farbpalette im Schritt S202 gespeichert, wobei diese Farbpalette dann den Farbeintrag Blau für den Hintergrund (Pixel-Bild) sowie den Farbeintrag Schwarz für die Farbe des Beispieltextes enthält.For this image, the resulting color palette is stored in step S202, this color palette then containing the color entry blue for the background (pixel image) and the color entry black for the color of the example text.

Anschließend wird das Pixel-Bild des Werbebanners erneut erzeugt, diesmal jedoch ohne den Beispieltext, so dass lediglich das blaue Bild (Werbebanner) erzeugt wird. Anders als im Stand der Technik wird hier nun nicht die diesem Bild zugeordnete Farbpalette gespeichert, sondern vielmehr wird diesem Bild die im Vorhergehenden erzeugte und zwischengespeicherte Farbpalette für das Bild und den zusätzlichen Text zugeordnet, wie dies im Schritt S204 gezeigt ist. Das so erzeugte Pixel-Bild wird dann zusammen mit der Farbpalette im Schritt 206 bereitgestellt. Das im Schritt S206 bereitgestellte Bild des Werbebanners umfasst somit bereits alle erforderlichen Farbpaletteninformationen für den möglicherweise später hinzuzufügenden Text, also neben den Informationen betreffend das Bild an sich auch Informationen betreffend die Farbeinträge in der Palette für möglicherweise hinzuzufügende Textelemente.Subsequently, the pixel image of the banner is generated again, but this time without the example text, so that only the blue image (banner ad) is generated. Unlike in the prior art, the color palette associated with this image is not stored here, but rather is assigned to this image the previously generated and cached color palette for the image and the additional text, as shown in step S204. The pixel image thus created is then combined with the color palette in the step 206 provided. The image of the advertising banner provided in step S206 thus already contains all the necessary color palette information for the text possibly to be added later, ie in addition to the information concerning the image itself also information concerning the color entries in the palette for possibly to be added text elements.

Zu einem beliebigen Zeitpunkt nach dem Bereitstellen des Pixel-Bildes mit der modifizierten Farbpalette kann erwünscht sein, dass ein Text zu dem Werbebanner, welches bereitgestellt wurde, hinzufügt werden soll. Im Schritt S208 wird dann der hinzuzufügende Text ausgewählt, wobei durch die gestrichelte Verbindung zwischen den Schritten S206 und S208 angedeutet sein soll, dass diese zwei Schritte nicht in enger zeitlicher Abfolge erfolgen müssen, sondern zu einem beliebigen Zeitpunkt nach dem Bereitstellen im Schritt S206 durchgeführt werden können. Nachdem im Schritt S208 der hinzuzufügende Text ausgewählt wurde, wird dieser einfach dem existierenden Bild hinzugefügt, so dass sich das modifizierte Bild ergibt, wie dies im Schritt S210 dargestellt ist. Dieses Hinzufügen erfordert keine weitergehende Änderung der Farbpalette, die ja bereits mit den erforderlichen Einträgen für den hinzuzufügenden Text vorliegt.At any time after providing the pixel image with the modified color palette, it may be desirable for a text to be added to the banner ad that was provided. The text to be added is then selected in step S208, whereby it should be indicated by the dashed connection between steps S206 and S208 that these two steps do not have to take place in a tight chronological order, but are carried out at any time after the provision in step S206 can. After the text to be added has been selected in step S208, it is simply added to the existing image to give the modified image, as shown in step S210. This addition does not require any further modification of the color palette, which already exists with the required entries for the text to be added.

Erfindungsgemäß lässt sich somit auf einfache Art und Weise ein existierendes Werbebanner ohne großen Aufwand durch Hinzufügen weiterer Elemente modifizieren. Obwohl bei dem oben beschriebenen Ausführungsbeispiel ein Pixel-Bild mit einer Farbe beschrieben wurde, zu dem ein Textelement mit einer anderen Farbe zugefügt werden soll, ist hervorzuheben, dass die vorliegende Erfindung natürlich nicht auf dieses Ausführungsbeispiel beschränkt ist. Bei dem Pixel-Bild kann es natürlich auch um eine komplexe Struktur mit mehreren Farben handeln und anstelle eines Textelements können auch verschiedene Textelemente mit unterschiedlichen Farben eingefügt werden. Die vorliegende Erfindung ist natürlich auch nicht auf das Einfügen von Textelementen beschränkt, sondern kann allgemein auf das Hinzufügen beliebiger graphischer Elemente, beispielsweise andere Bildelemente oder ähnliches, erweitert werden. In diesem Fall würden dann die dem entsprechenden graphischen Element zugeordneten Farbeinträge in der Palette bereits anfänglich abgespeichert und mit dem ursprünglichen Bild ohne zusätzlichem graphischen Element abgespeichert.Thus, according to the invention, an existing banner can be easily modified by adding further elements in a simple manner. Although in the above-described embodiment, a pixel image has been described with a color to which a text element having a different color is to be added, it is to be understood that the present invention is not limited to this embodiment, of course. Of course, the pixel image may also be a complex structure with multiple colors, and instead of a text element, different text elements with different colors may also be inserted. Of course, the present invention is not limited to the insertion of textual elements but can generally be extended to the addition of arbitrary graphical elements, for example, other picture elements or the like. In this case, the color entries associated with the corresponding graphic element would then already be initially stored in the palette and stored with the original image without additional graphic element.

Soweit das ursprüngliche Pixel-Bild einer Größenbeschränkung unterworfen ist, wie es beispielsweise bei den oben beschriebenen Werbebannern häufig der Fall ist, kann diese dadurch eingehalten werden, dass das ursprüngliche Bild zusammen mit dem Beispieltext erzeugt wird, so dass die Größe eine vorbestimmte Größe nicht überschreitet. Nach dem Erzeugen des Pixel-Bildes ohne den Beispieltext wird dieses eine reduzierte Größe haben, jedoch wird dann, wenn der ausgewählte, hinzuzufügende Text in etwa die gleiche Größe hat wie der anfänglich verwendete Beispieltext zur Erzeugung der modifizierten Farbpalette, wird sich im wesentlichen keine Vergrößerung der Größe des sich abschließend ergebenden modifizierten Bildes einstellen.Insofar as the original pixel image is subject to a size restriction, as is often the case, for example, in the advertising banners described above, this can be achieved by producing the original image together with the example text such that the size does not exceed a predetermined size , After generating the pixel image without the example text, it will have a reduced size, but if the selected text to be added is about the same size as the initial example text used to create the modified color palette, then there will be essentially no magnification the size of the finally resulting modified image.

Obwohl oben bevorzugte Ausführungsbeispiele der vorliegenden Erfindung anhand des GIF-Formats beschrieben wurden, liegt es auf der Hand, dass die vorliegende Erfindung nicht auf dieses Format beschränkt ist. Die vorliegende Erfindung kann vielmehr vorzugsweise mit allen Pixel-Bildern verwendet werden, bei denen die in den Bildern verwendeten Farben über eine Farbpalette definiert sind.Although the above preferred embodiments of the present invention have been described in terms of the GIF format, it is obvious that the present invention is not limited to this format. Rather, the present invention may preferably be used with all pixel images in which the colors used in the images are defined via a color palette.

Abhängig von den Gegebenheiten kann das erfindungsgemäße Verfahren in Hardware oder Software implementiert werden, wobei die Implementierung auf einem digitalen Speichermedium, z. B. einer Diskette, einer CD oder einer DVD, mit elektronisch auslesbaren Steuersignalen erfolgen kann, die so mit einem programmierbaren Computersystem zusammenwirken können, dass das entsprechende Verfahren ausgeführt wird. Im allgemeinen besteht die Erfindung somit auch in einem Computerprogrammprodukt mit auf einem maschinenlesbaren Träger gespeicherten Programmcode zur Durchführung des erfindungsgemäßen Verfahrens, wenn das Computerprogrammprodukt auf einem Rechner abläuft. Mit anderen Worten ausgedrückt kann die Erfindung somit als ein Computerprogramm mit einem Programmcode zur Durchführung des Verfahrens realisiert werden, wenn das Computerprogramm auf einem Computer abläuft.Depending on the circumstances, the inventive method can be implemented in hardware or software, wherein the implementation on a digital storage medium, for. As a floppy disk, a CD or a DVD, can be done with electronically readable control signals that can interact with a programmable computer system so that the corresponding method is performed. In general, the invention thus also consists in a computer program product with program code stored on a machine-readable carrier for carrying out the method according to the invention, when the computer program product runs on a computer. In other words, the invention can thus be realized as a computer program with a program code for carrying out the method when the computer program runs on a computer.

Claims (10)

Verfahren zum Erzeugen eines Bildes, dem eine Farbpalette zugeordnet ist, die einen oder mehrere Farbeinträge für das Bild aufweist, mit folgenden Schritten: (a) Erzeugen (S200) des Bildes mit zumindest einem zusätzlichen graphischen Element; (b) Speichern (S202) der sich aus dem im Schritt (a) erzeugten Bild ergebenden Farbpalette, die die Farbeinträge für das Bild und das zumindest eine zusätzliche graphische Element aufweist; (c) Erzeugen (S204) des Bildes ohne das zumindest eine zusätzliche graphische Element unter Verwendung der im Schritt (b) gespeicherten Farbpalette; und (d) Speichern (S206) des im Schritt (c) erzeugten Bildes, dem die im Schritt (b) gespeicherte Farbpalette zugeordnet ist, wobei der Schritt (a) das Anordnen des zumindest einen zusätzlichen graphischen Elements in einem einfarbigen Bereich des Bildes umfasst.A method of generating an image associated with a color palette having one or more color entries for the image, comprising the steps of: (a) generating (S200) the image with at least one additional graphical element; (b) storing (S202) the color palette resulting from the image generated in step (a), having the color entries for the image and the at least one additional graphical element; (c) generating (S204) the image without the at least one additional graphical element using the color palette stored in step (b); and (d) storing (S206) the image generated in step (c) to which the color palette stored in step (b) is assigned, wherein step (a) comprises placing the at least one additional graphical element in a monochrome area of the image. Verfahren gemäß Anspruch 1, bei dem das zumindest eine zusätzliche graphische Element ein Textelement ist. The method of claim 1, wherein the at least one additional graphical element is a text element. Verfahren gemäß Anspruch 1 oder 2, bei dem die im Schritt (b) gespeicherte Farbpalette die Farbeinträge für das Bild sowie zusätzliche Farbeinträge für das zumindest eine zusätzliche graphische Element umfasst.The method of claim 1 or 2, wherein the color palette stored in step (b) comprises the color entries for the image and additional color entries for the at least one additional graphical element. Verfahren gemäß einem der Ansprüche 1 bis 3, bei dem das Bild im GIF-Format vorliegt, so dass die zugeordnete Farbtabelle maximal 256 Farbeinträge aufweist.Method according to one of Claims 1 to 3, in which the image is in GIF format such that the associated color table has a maximum of 256 color entries. Verfahren zum Modifizieren eines Bildes durch Hinzufügung zumindest eines weiteren graphischen Elements zu dem existierenden Bild mit folgenden Schritten: (a) Bereitstellen (S206) des existierenden Bildes, das durch ein Verfahren gemäß einem der Ansprüche 1 bis 4 erzeugt wurde; und (b) Hinzufügen (S208) des zumindest einen weiteren graphischen Elements zu dem im Schritt (a) bereitgestellten Bild, wobei die dem im Schritt (a) bereitgestellten Bild zugeordnete Farbpalette neben den Farbeinträgen für das Bild die Farbeinträge für das zumindest eine weitere graphische Element enthält.A method of modifying an image by adding at least one further graphical element to the existing image, comprising the steps of: (a) providing (S206) the existing image generated by a method according to any one of claims 1 to 4; and (b) adding (S208) the at least one further graphical element to the image provided in step (a), wherein the color palette associated with the image provided in step (a), in addition to the color entries for the image, the color entries for the at least one further graphical element contains. Verfahren gemäß Anspruch 5, bei dem das dem Bild hinzugefügte zumindest eine weitere graphische Element und das beim Erzeugen des existierenden Bildes verwendete zumindest eine zusätzliche graphische Element vom selben Typ sind.A method according to claim 5, wherein the at least one further graphical element added to the image and the at least one additional graphical element used in generating the existing image are of the same type. Verfahren gemäß Anspruch 6, bei dem das zumindest eine weitere graphische Element und das zumindest eine zusätzliche graphische Element im wesentlichen die gleiche Größe aufweisen.The method of claim 6, wherein the at least one further graphical element and the at least one additional graphical element are substantially the same size. Digitales Speichermedium mit elektronisch auslesbaren Steuersignalen, die so mit einem programmierbaren Computersystem zusammenwirken können, dass das Verfahren gemäß einem der Ansprüche 1 bis 7 ausgeführt wird.A digital storage medium having electronically readable control signals capable of interacting with a programmable computer system such that the method of any one of claims 1 to 7 is practiced. Computerprogrammprodukt mit auf einem maschinenlesbaren Träger gespeicherten Programmcode zur Durchführung des Verfahrens gemäß einem der Ansprüche 1 bis 7, wenn das Programmprodukt auf einem Rechner abläuft.Computer program product with program code stored on a machine-readable carrier for carrying out the method according to one of claims 1 to 7, when the program product runs on a computer. Computerprogramm mit Programmcode zur Durchführung des Verfahrens gemäß einem der Ansprüche 1 bis 7, wenn das Programm auf einem Computer abläuft.Computer program with program code for carrying out the method according to one of claims 1 to 7, when the program runs on a computer.
DE200410054548 2004-11-11 2004-11-11 Method for generating an image Active DE102004054548B4 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE200410054548 DE102004054548B4 (en) 2004-11-11 2004-11-11 Method for generating an image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE200410054548 DE102004054548B4 (en) 2004-11-11 2004-11-11 Method for generating an image

Publications (2)

Publication Number Publication Date
DE102004054548A1 DE102004054548A1 (en) 2006-05-24
DE102004054548B4 true DE102004054548B4 (en) 2013-11-07

Family

ID=36313562

Family Applications (1)

Application Number Title Priority Date Filing Date
DE200410054548 Active DE102004054548B4 (en) 2004-11-11 2004-11-11 Method for generating an image

Country Status (1)

Country Link
DE (1) DE102004054548B4 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5459486A (en) * 1994-04-18 1995-10-17 University Of Washington Method and apparatus for combining palettes of color quantized images
DE19723102C1 (en) * 1997-06-02 1998-11-12 Media Design Ges Fuer Multimed Process for displaying and navigating large files containing graphic elements
US6185589B1 (en) * 1998-07-31 2001-02-06 Hewlett-Packard Company Automatic banner resizing for variable-width web pages using variable width cells of HTML table
DE10060455A1 (en) * 2000-12-05 2002-06-06 Hop Agentur Fuer Marketing Pro Dynabanner or advertising banner on a computer screen as part of an Internet page but independent of the page
EP1315085A1 (en) * 2001-11-27 2003-05-28 Sun Microsystems, Inc. Automatic image-button creation process
US20030115552A1 (en) * 2001-11-27 2003-06-19 Jorg Jahnke Method and system for automatic creation of multilingual immutable image files

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5459486A (en) * 1994-04-18 1995-10-17 University Of Washington Method and apparatus for combining palettes of color quantized images
DE19723102C1 (en) * 1997-06-02 1998-11-12 Media Design Ges Fuer Multimed Process for displaying and navigating large files containing graphic elements
US6185589B1 (en) * 1998-07-31 2001-02-06 Hewlett-Packard Company Automatic banner resizing for variable-width web pages using variable width cells of HTML table
DE10060455A1 (en) * 2000-12-05 2002-06-06 Hop Agentur Fuer Marketing Pro Dynabanner or advertising banner on a computer screen as part of an Internet page but independent of the page
EP1315085A1 (en) * 2001-11-27 2003-05-28 Sun Microsystems, Inc. Automatic image-button creation process
US20030115552A1 (en) * 2001-11-27 2003-06-19 Jorg Jahnke Method and system for automatic creation of multilingual immutable image files

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Mikkel Aaland: Web design: Making great GIFs. 2002, www.internetjournal.com/text/articles/200003/wd_03_09_00f.html [online]. *

Also Published As

Publication number Publication date
DE102004054548A1 (en) 2006-05-24

Similar Documents

Publication Publication Date Title
DE2932525C2 (en)
DE602004010777T2 (en) Alpha mix based on a lookup table
DE60312241T2 (en) Method for processing additional information in a video system
DE19918046B4 (en) Memory structure for picture-in-picture display in a digital video display unit and method therefor
DE3335162A1 (en) DEVICE AND METHOD FOR GRAPHIC PRESENTATIONS BY MEANS OF COMPUTERS
EP1536377B1 (en) Method for modifying the dimensions of an electronically stored image
DE19713654B4 (en) Progressive outline script and method for generating, transmitting and displaying the same
DE19961091B4 (en) Image processing apparatus and image processing method
EP1263221A2 (en) Method and device for displaying at least two pictures in a whole picture
DE102014006549B4 (en) Technique for processing a character string for graphical representation at a human-machine interface
DE19543377A1 (en) Method and arrangement for displaying images from an image group
DE102004054548B4 (en) Method for generating an image
DE60024392T2 (en) Reduction of the difference in appearance between coded and uncoded text units
WO2009101033A1 (en) Device and method for animating a graphic digital document
DE102009015734A1 (en) Compression method, decompression method, compression unit, decompression unit and compressed document
DE3620261A1 (en) Method for superimposing different images
DE69817633T2 (en) Convolution of line grid representations
DE102006048432A1 (en) Method and recording format for image compression
EP0986790B1 (en) Display and navigation method for large data files containing graphic elements
DE102016110746B3 (en) Method for displaying text on a display
DE102009037287B4 (en) System and method for selecting a pixel output format
DE19600195C2 (en) Image signal processing device and method for processing digital data signals
DE102006043166B4 (en) Method for processing a digital original layout of a print object, electronic system and computer program
DE60120745T2 (en) METHOD AND DEVICE FOR COMPILING VIDEO SCENES FROM DIFFERENT DATA
DE19653435A1 (en) Newspaper automated intelligent layout system for electronic publishing of electronic and print media e.g. newspapers, magazines and computer text systems

Legal Events

Date Code Title Description
OP8 Request for examination as to paragraph 44 patent law
8127 New person/name/address of the applicant

Owner name: BRANDAD SYSTEMS AG, 90762 FUERTH, DE

R016 Response to examination communication
R018 Grant decision by examination section/examining division
R020 Patent grant now final

Effective date: 20140208