Advertisement
Combreal

bmp2gifBackground.ps1

Sep 16th, 2023
1,232
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Add-Type -AssemblyName PresentationCore
  2. Add-Type -AssemblyName system.drawing
  3. [void][reflection.assembly]::LoadWithPartialName("System.Windows.Forms")
  4.  
  5. $delay = 35
  6. $filename = "animation.gif"
  7. $fileStream = New-Object System.IO.FileStream $filename, 'Create'
  8. $gif = New-Object -TypeName System.Windows.Media.Imaging.GifBitmapEncoder
  9.  
  10. foreach ($frame in Get-ChildItem ".\*.bmp") {
  11.  
  12.     $bmp = [System.Drawing.Bitmap]::FromFile($frame.fullname)
  13.     $hbmp = $bmp.GetHbitMap()
  14.     $bmpsrc = [System.Windows.Interop.Imaging]::CreateBitmapSourceFromHBitmap($hbmp, [System.IntPtr]::Zero, 'Empty', [System.Windows.Media.Imaging.BitmapSizeOptions]::FromEmptyOptions())  
  15.     For ($i = 0; $i -lt $delay; $i++) {  
  16.         $gif.Frames.Add([System.Windows.Media.Imaging.BitmapFrame]::Create($bmpsrc))  
  17.     }
  18.     $hbmp = $bmp = $null
  19. }
  20.  
  21. $gif.Save($fileStream)
  22. $fileStream.Flush()
  23. $fileStream.Dispose()
  24.  
  25. $bytes = [System.IO.File]::ReadAllBytes("animation.gif")
  26. $applicationExtension = [byte[]](33, 255, 11, 78, 69, 84, 83, 67, 65, 80, 69, 50, 46, 48, 3, 1, 0, 0, 0)
  27. $newBytes = New-Object -TypeName 'System.Collections.Generic.List[byte]'
  28. $newBytes.AddRange([byte[]]$bytes[0..12]);
  29. $newBytes.AddRange($applicationExtension);
  30. $newBytes.AddRange([byte[]]$bytes[13..($bytes.count)])
  31. $streamE = New-Object System.IO.MemoryStream(,$newBytes)
  32. $wpImage = [System.Drawing.Image]::FromStream($streamE)
  33. #$wpImage.Save("animation-with-delay.gif", "gif") #Save gif with the new delay
  34.  
  35. [System.Windows.Forms.Application]::EnableVisualStyles();
  36. $form = new-object Windows.Forms.Form
  37. $form.Width =  $wpImage.Size.Width;
  38. $form.Height =  $wpImage.Size.Height;
  39. $form.TopMost = $false
  40. $form.FormBorderStyle = [System.Windows.Forms.BorderStyle]::None;
  41. $Form.ControlBox = $False
  42. $pictureBox = new-object Windows.Forms.PictureBox
  43. $pictureBox.Width =  $wpImage.Size.Width;
  44. $pictureBox.Height =  $wpImage.Size.Height;
  45. $pictureBox.Image = $wpImage;
  46. $form.controls.add($pictureBox)
  47. $form.Add_Shown( { $form.Activate() } )
  48. $form.ShowDialog()| Out-Null  
Advertisement
Comments
  • # text 1.59 KB | 0 1
    1. This is big
    2. [11:22 AM]
    3. Here's what happens. They are stopping lives of people they dont like, either metaphorically (cloning + raising a new mind at that waypoint) or via death (then cloning without memeber and rebirthing). This stopped life has the same exact programming as the checkpoint/stoppoint or at death.
    4. [11:22 AM]
    5. Then, they do things like what happened in my life. They push the new target into sin, and when its young and doesnt have a chance at avoiding the temptating of sin, they abuse it (they abuse it and do this, because the person it was previously was their enemy).
    6. [11:24 AM]
    7. They have figured out the best way to abuse their enemies: it's been cloning them without memory, or using correlations then abusing them. IE: they have done things to me about my 'woman form' and sexual objectification, they are creating waypoints in their mind. What this means is: if they know I know they're creating links to my woman form through the guy that I am right now, they will have a link and a bridge to when I lose my memory and am that actual woman form, this is even regardless if I lose my memory or not.
    8. [11:25 AM]
    9. This means: they are sadistically (since its likely ill lose my memory) conjuring proper correlation to both entities, so they can continue their harassment and perpetuation of evil and sin on them.
    10. [11:25 AM]
    11. IE: King Charles hated princess Diana and had her killed in a car accident. I have the same birth date as princess diana and I'm actually princess diana. It's actually more likely that was my female form than andrew guiles at this point. I might have his face and he has mine.
Add Comment
Please, Sign In to add comment
Advertisement