AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Multimedia Delphi Zwei Bitmaps zusammenfügen
Thema durchsuchen
Ansicht
Themen-Optionen

Zwei Bitmaps zusammenfügen

Ein Thema von Alois · begonnen am 27. Jul 2005 · letzter Beitrag vom 27. Jul 2005
Antwort Antwort
Alois

Registriert seit: 23. Jul 2005
71 Beiträge
 
Delphi 10 Seattle Professional
 
#1

Zwei Bitmaps zusammenfügen

  Alt 27. Jul 2005, 08:55
Ich möchte gerne zwei Bitmaps zu einem zusammenfassen (Darstellung nebeneinander) und sie dann als
bitBtn Grafik einfügen. Gibt's da ein Tool?

Gruss Alois
  Mit Zitat antworten Zitat
barf00s
(Gast)

n/a Beiträge
 
#2

Re: Zwei Bitmaps zusammenfügen

  Alt 27. Jul 2005, 08:56
BitBlt()
Bitmap.Canvas.CopyRect()
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#3

Re: Zwei Bitmaps zusammenfügen

  Alt 27. Jul 2005, 09:49
@barf00s:
Ich glaube er sucht ein fertiges Programm, das diese Aufgabe erledigt!

Florian
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
barf00s
(Gast)

n/a Beiträge
 
#4

Re: Zwei Bitmaps zusammenfügen

  Alt 27. Jul 2005, 09:51
dann schreib DU es ihm doch - wir sind ja hier nich bei rent-a-coder?
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#5

Re: Zwei Bitmaps zusammenfügen

  Alt 27. Jul 2005, 10:32
Ich hab leider kein Delphi hier!
Mal so aus dem Kopf:
Delphi-Quellcode:
  image3.picture.assign(image1.picture.bitmap);
  Image3.Picture.Bitmap.Width := Image3.Picture.Bitmap.Width + image1.picture.bitmap.width;
  image3.picture.Bitmap.Canvas.CopyRect(rect(image1.Picture.width, 0, image2.picture.Width +
  image1.picture.width, image2.picture.height), image2.picture.bitmap.Canvas, rect(0, 0,
  image2.picture.width, image2.picture.Height));
Die Einzelbilder müssen in Image1 und Image2 geladen werden. Das fertige Bild ist dann in Image3!

Florian
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
barf00s
(Gast)

n/a Beiträge
 
#6

Re: Zwei Bitmaps zusammenfügen

  Alt 27. Jul 2005, 10:41
die jeweiligen TBitmap.Canvas'es haben auch ein "ClipRect" dem man sich bedienen kann ohne solche RIESIGEN verwurstungen von code zu produzieren @vader
  Mit Zitat antworten Zitat
Alois

Registriert seit: 23. Jul 2005
71 Beiträge
 
Delphi 10 Seattle Professional
 
#7

Re: Zwei Bitmaps zusammenfügen

  Alt 27. Jul 2005, 10:43
Hey, nicht so grob. Seid lieb zueinander

Ich habe inzwischen ein etwas älteres Tool Names "Picto" gefunden dass das für mich erledigt.
Falls bei jemand noch Interesse besteht hier der Link dazu.
http://www.scip.be/ImagesScreenshots...Picto01_EN.jpg
Features:
  • Nice and user-friendly interface.
  • View all (resource) bitmaps, cursors and icons in BMP, JPG, ICO, ANI, CUR, DLL, EXE, ICL, CPL, BPL, OCX, SCR, RES and DCR-files
  • Properties window with all information about the current file and images (number of images, size, colorpalette, ...) displayed in a treeview.
  • Save images as BMP/JPG (with different colorpalettes and compression).
  • Save images as ICO with 16 or 256 colors (16x16, 32x32, 48x48).
  • Edit images with a range of graphical effects (rotate, mirror, create disabled image, convert to greyscale, contrast and brightness, create bevel, color balance, soften and sharpen, emboss, add shadow, ... ) using a transparent color.
  • The edit window also contains a small painting program to draw lines, rectangles, circles, ...
  • Create a special glyph (=small bitmap for buttons) containing 2,3 or 4 images showing a status of a button (up, disabled, clicked, down). This glyph can be used for TSpeedbutton or TBitBtn components in Delphi or C++ Builder.
  • Add images to a TImageList, change the order and set the properties. Afterwards this TImageList can be pasted in Delphi or C++Builder.
  • Generate HTML pages to catalogue your images with hyperlinks.
  • Resize or crop big bitmaps to the size of an icon.
  • Capture a part of the screen with a fixed size (16x16, 20x20, 32x32, 48x48, ...).
  • Change the background image of the desktop (tile, center, stretch).
  • Change the system icons (my computer, recycle bin, printers, ....)
  • Copy images to the clipboard as a bitmap, TBitBtn, TSpeedButton or TImage.
  • Internal copy, move, delete, rename features for files.
  • A lot of options for viewing images, organizing the interface, links to file paths, copying of Delphi/C++Builder components, links to external editors,
Ich hoffe die Werbung macht den Mod's nicht's aus.
  Mit Zitat antworten Zitat
27. Jul 2005, 11:27
Dieses Thema wurde von "alcaeus" von "VCL / WinForms / Controls" nach "Multimedia" verschoben.
Das hat eindeutig mehr mit Multimedia zu tun als mit der VCL
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:04 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz