Jump to content

TechnoRobbo

Members
  • Posts

    1,740
  • Joined

  • Last visited

  • Days Won

    132

Everything posted by TechnoRobbo

  1. Try this Software http://www.jpegimager.com/ji/palette_alpha.html It speciffically deals with the PNG8 format
  2. I never liked the way the states were arranged anyways, Illinois should be farther south.
  3. TechnoRobbo's Export Selection Exports irregular shaped selections to PNG v1.2 - Persistent Folder V1.1 - Code Clean up - avoids potential memory hole. Menu: Effects->Selection Source Code for CodeLab Hidden Content: // Submenu: Selection // Name: TR's Export Selection // Title: TR's Export Selection- v1.2 // Author: TechnoRobbo // URL: http://www.technorobbo.com System.Drawing.Bitmap bMap; private void savepng() { System.Threading.Thread t = new System.Threading.Thread(new System.Threading.ThreadStart(saver)); t.SetApartmentState(System.Threading.ApartmentState.STA); t.Start(); t.Join(); } private string GetFileName() { System.Windows.Forms.SaveFileDialog OpenFileDialog1= new System.Windows.Forms.SaveFileDialog(); string fp = Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); Microsoft.Win32.RegistryKey rk = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("TechnoRobbo"); if (rk != null) { try { fp = (string)rk.GetValue("ExportSelectionPath"); if (!System.IO.Directory.Exists(fp)) fp = Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); } catch { fp = Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); } } OpenFileDialog1.InitialDirectory = fp; OpenFileDialog1.Filter = "PNG file (*.png)|*.png"; OpenFileDialog1.FilterIndex = 1; OpenFileDialog1.RestoreDirectory = false; if (OpenFileDialog1.ShowDialog() == DialogResult.OK) { Microsoft.Win32.RegistryKey key; key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("TechnoRobbo"); key.SetValue("ExportSelectionPath", System.IO.Path.GetDirectoryName(OpenFileDialog1.FileName)); key.Close(); return OpenFileDialog1.FileName; } return String.Empty; } private void saver() { string fp = GetFileName();//Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); if ( !fp.Equals( String.Empty)) { bMap.Save(fp); } } void Render(Surface dst, Surface src, Rectangle rect) { Rectangle selection = EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt(); if (IsCancelRequested) return; SignalCancelRequest(); System.Windows.Forms.Application.DoEvents(); bMap =new Bitmap(selection.Width, selection.Height); string fp = Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); PdnRegion selectionRegion = EnvironmentParameters.GetSelection(src.Bounds); try { Graphics g = Graphics.FromImage(bMap); Region reg = new Region(selectionRegion.GetRegionData()); reg.Translate(-selection.Left, -selection.Top); g.SetClip(reg, System.Drawing.Drawing2D.CombineMode.Replace); g.CompositingMode = System.Drawing.Drawing2D.CompositingMode.SourceCopy; g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; GraphicsUnit units = GraphicsUnit.Pixel; g.DrawImage(src.CreateAliasedBitmap(),new Rectangle(0,0,selection.Width, selection.Height), selection ,units); g.Dispose(); reg.Dispose(); savepng(); } catch { } } TRsExportSelection.zip
  4. Gee, this sounds interesting try this - just published it http://forums.getpaint.net/index.php?/topic/29969-trs-export-selection/?p=416512 It will be in the Menu : Effect - > Selection Saves a png of the arbitrary selection
  5. DD, Red and Seerose, thanks for your continued support. v1.0.1 uploaded - only change is a Plugin browser preview was added.
  6. TechnoRobbo's Alpha Mapper A plugin for blending images Graphically adjust how brightness translates to transparency. V 1.0.1 adds Plugin Browser preview Menu: Adjustments Techno-Colour Yawn TRsAlphaMapper.zip
  7. No need to be so drastic, Norton allows the user to exclude an apps and folders from it's virus scan. Still, zip your dll's, my google chrome issues a warning.
  8. Skittles! I tasted the rainbow twice. (Hmmm Double-Rainbow. Is that what they meant?)
  9. Thank You, flotg666 Pixey, that is so beautiful. Very peaceful. Very serene. Next time your down there, have a mojito for me.
  10. That's a really good idea! I tried it. Paint bucket black , add 4 colored rectangle Gaussian blur 3X. Perfect!!
  11. Sorry, I post edited: Maybe Photoshop should give the user a choice? After all, you are paying them a lot of money to use it.
  12. If your looking for an explanation/discussion, try this thread http://forums.getpaint.net/index.php?/topic/28872-alpha-value-clipboard-bug/?p=412076 The format in PDN was chosen for the way PDN works internally. There are multiple formats that a clipboard image can have. Photoshop doesn't "copy" as a format that PDN can "paste". PDN does copy as a format Photoshop can paste. Maybe Photoshop should give the user a choice?
  13. AnthonyScoffler, Save your uploads as ZIP files. DLL's get flagged by everything with an "anti" in their description.
  14. Copy to Clipboard and paste are two intermediate steps. Try two different intermediate steps. Save your Photoshop image temp to a png and load using Menu:Layer ->Import From File... Not as elegant but it gets you there quickly.
  15. If you know how to CodeLab, that's what's called a PathGradientBrush. If you don't then you can do it manually with multiple layers like this:
  16. Using a similar technique that Red Ochre used Fed a plasmatics image into intensity warp Fed a plasmatics image into intensity warp twice!!
  17. Extremely Creative Red, very organic looking - Thanks for sharing the process.
  18. My gratitude to Red Ochre for his brilliant insights and suggestions. Version 1.2 has been uploaded the ability to shift the texture and the ability to tile or stretch custom textures has been added.
  19. Thank You, Seerose and Skully, Skully you have a beautiful grand daughter
×
×
  • Create New...