TheFly Posted December 9, 2003 Posted December 9, 2003 :confused: Hello, I'm looking for a way to create small samples in .jpg of .psd Please, does anyone know how I can do that Thanks Quote
GrenadeFX Posted July 27, 2005 Posted July 27, 2005 yeh i wouldnt mind knowing how to convert from tga to jpg as well Quote
thenerd Posted July 29, 2005 Posted July 29, 2005 Easy. Load the image into a bitmap dim bmp as bitmap = new bitmap("c:\MyPNG.png") 'or any type Save it with a certain type. bbmp.Save("C:\Myjpg.jpg", System.Drawing.Imaging.ImageFormat.Jpeg) 'Look in system.drawing.imaging.imageformat, you'll see quite a few different format types. Quote
GrenadeFX Posted July 30, 2005 Posted July 30, 2005 (edited) kools thanx that worked altho i cannot seem to convert from tga Edited July 30, 2005 by GrenadeFX Quote
ALEX_0077 Posted August 1, 2005 Posted August 1, 2005 You will have to use DirectX to load TGA (maybe not HAVE to, but a good idea.) Check out this link from msdn: http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c_Summer_04/directx/graphics/reference/d3dx/enums/d3dximage_fileformat.asp Quote Me = 49% Linux, 49% Windows, 2% Hot gas. ...Bite me. My Site: www.RedPierSystems.net -.net, php, AutoCAD VBA, Graphics Design
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.