archive-com.com » COM » E » EFG2.COM

Total: 878

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".

  • mail Xref newsgroups borland com borland public delphi graphics 51398 Todd 1 Start with your watermark image Decide on a transparent color and make sure that the transparent parts of your watermark image are this color Use a bitmap editor to do this 2 There are 2 techniques you could use that I can think of The first involves lightening the watermark image and then adding it to the target canvas This is not really easy to do if the watermark will be color but is fairly straight forward for gray watermarks Here you simply increase the the RGB color channels towards peak 255 For colored watermarks this technique is quite difficult to implement properly because most colors will not lighten evenly and you have to write special code to accomodate this problem The second technique you could use is to simply perform a transparent alpha blend with a very low opacity value say 5 10 This is the simplest approach and produces great results Note that difficulties arise when images contain anti alaising against a background color different from the target s background color In other words if your watermark is a smoothed antialiased image it should have the

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/2002/0920.txt (2016-02-14)
    Open archived version from archive



  • effect to a bitmap I have tried PatBlt DrawState and BitBlt but I don t know what combination of params I need I can affect the bitmap but not the way I want If any one has some sample code I would appreciate it 1 Create an 8x8 bitmap where the pixels alternate black and white as in a checkerboard 2 Load that bitmap into the Brush Bitmap property of

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/2000/0324b.txt (2016-02-14)
    Open archived version from archive


  • example pavi PAVIFile pavis PAVIStream pavisound PAVIStream ob PGetFrame pbmi PBitmapInfoHeader Punter PByte han i integer Desti TCanvas microsperframe integer principio fin integer if 0 AVIStreamBeginStreaming pavis principio fin 1000 then Raise Exception Create Error n AVIBegin pbmi AVIStreamGetFrame ob i While pbmi Fecha martes 19 de enero de 1999 21 40 Asunto Re How to extract a bitmap from an avi file Toni You can email me if do

    Original URL path: http://www.efg2.com/Lab/Library/Delphi/Graphics/ToniMartirExtractBMPfromAVI.txt (2016-02-14)
    Open archived version from archive


  • TObject var Bitmap TBitmap i x j Integer comAVI TCommonAVI begin 1 aviFindFolder 2 aviFindFile 3 aviFindComputer 4 aviCopyFiles 5 aviCopyFile 6 aviRecycleFile 7 aviEmptyRecycle 8 aviDeleteFile for x 1 to 8 do only eight common AVIs begin Animate1 CommonAVI TCommonAVI x for i 1 to Animate1 FrameCount do begin Animate1 Play i i 1 1 Label2 Caption IntToStr i Bitmap TBitmap Create try Bitmap Width Animate1 Width Bitmap Height Animate1 Height Bitmap Pixelformat pf24bit Bitmap Canvas CopyRect Bitmap Canvas ClipRect Mainform Canvas Rect Animate1 Left Animate1 Top Animate1 Left Bitmap Width Animate1 Top Bitmap Height Bitmap SaveToFile IntToStr Ord Animate1 CommonAVI IntToStr i BMP finally Bitmap Free end Sleep 50 Application ProcessMessages end Sleep 50 Application ProcessMessages end end end Here s the DFM object MainForm TMainForm Left 200 Top 128 Width 425 Height 172 Caption MainForm Font Charset DEFAULT CHARSET Font Color clWindowText Font Height 11 Font Name MS Sans Serif Font Style PixelsPerInch 96 TextHeight 13 object msLabel1 TLabel Left 287 Top 49 Width 72 Height 13 Caption Frame Number end object Label2 TLabel Left 285 Top 66 Width 3 Height 13 end object Image1 TImage Left 0 Top 71 Width 272 Height 60 end object Button1 TButton Left 298 Top 16 Width 75 Height 25 Caption Button1 TabOrder 0 OnClick Button1Click end object Animate1 TAnimate Left 0 Top 0 Width 272 Height 60 Active False CommonAVI aviCopyFiles StopFrame 34 end end Ing José Manuel Gómez Ferrer y Reguero wrote Thanx but no that s not what I meant I need to extract that AVI from that file or find an animated GIF that shows this video copying file papers fly from one folder to another I m trying to do this because I need the gif file not to show the avi in my app Thanx

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/1999/0317.txt (2016-02-14)
    Open archived version from archive


  • Re JPG JPEG to BLOB From Bob Villiers Reply To bob villiers lineone net References NNTP Posting Host 62 6 100 5 X Trace dnews 993134971 62 6 100 5 21 Jun 2001 07 49 31 0700 Lines 33 Path dnews Xref dnews borland public delphi graphics 39960 Problem solved Load jpeg in file to blob field using SQL procedure TForm1 Button1Click Sender TObject var ms TMemoryStream begin if OpenPictureDialog1

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/2001/0621a.txt (2016-02-14)
    Open archived version from archive


  • Access by Atlantic Coast PLC http www atlantic coast com va Message ID Subject Re JPG JPEG to BLOB From Bob Villiers Reply To bob villiers lineone net References NNTP Posting Host 213 123 38 185 X Trace dnews 993150206 213 123 38 185 21 Jun 2001 12 03 26 0700 Lines 22 Path dnews Xref dnews borland public delphi graphics 39973 Here is a better solution if OpenPictureDialog1 Execute

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/2001/0621b.txt (2016-02-14)
    Open archived version from archive


  • X Complaints To abuse gte net X Trace bGnt5U8rAkQu51YysDzistZYEYH1IlWdVRd5Z0uLk 83IIaSYcYvp0dQeG83tIv9paqC3bw 3kd MqiAcBv5bLtWv pGe3hRIZ5nC6pZxFYRbJIuVb39e6bXB1nNinWcomKpuT 0 Organization GTE Internet Solutions MIME Version 1 0 NNTP Posting Date Mon 13 Sep 1999 20 22 42 GMT Reply To koterski NOSPAMgte net Newsgroups comp lang pascal delphi databases On Mon 13 Sep 1999 09 51 03 0700 Bill Burns wrote Many third party books many FAQs demo programs etc deal with how to display graphics that are already captured and stored in a dbase or paradox blob field What about the other direction I am trying to put about 150 bitmaps into that many records in a dbf or db file and I can find little in the way of example code at least that I can make run If you are using a TTable or TQuery component with an editable dataset try the TBlobField LOadFromFile method Table1 Fields 19 as TBlobField LoadFromFile c spot bmp If you are using an INSERT statement executed from a TQuery represent the BLOB field using a parameter in the SQL statement Use the TParam LoadFromFile method to copy from bitmap file to parameter Use the Params property or ParamByName method of the TQuery to get this TParam

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/1999/0913b.txt (2016-02-14)
    Open archived version from archive


  • save this file as AniResource rc for instance Then go from the comandline to your Delphi Bin directory and type brcc32 exe C AniResource rc the path to your rc file and you will get the file AniResource res in the same directory Link this file to your project and try the following with a form with a button on it implementation R DFM R AniResource res if it s

    Original URL path: http://www.efg2.com/Lab/Library/UseNet/1999/0802.txt (2016-02-14)
    Open archived version from archive



  •