Jump to content

bmp to jpg with a dll? intel jpeg lib!


Recommended Posts

hi!

i'm searching a way for covert a bmp into a jpg i searched in the forum but i couldn't found anything useful

but i found googleing a intel jpeg library with the documentation but i'm a bit n00b with dll use and i need help q.q

the dll with documentation:

http://godro.altervista.org/intel_jpg_lib.zip

scanned with ESET NOD32: no virus found

sry for bad eng :)

Link to comment
Share on other sites

Hi,

_GDIPlus_Startup()
$Bild = _GDIPlus_ImageLoadFromFile("BILD.jpg")
_GDIPlus_ImageSaveToFile($Bild,"BILD.bmp")
_GDIPlus_ImageDispose($Bild)
_GDIPlus_Shutdown()

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

mmm i see...

Yes Good!

there is a way to convert it but without create a file?

eg,

with your code i must do this:

_GDIPlus_Startup()
$Bild = _GDIPlus_ImageLoadFromFile("BILD.bmp")
_GDIPlus_ImageSaveToFile($Bild,"BILD.jpg")
_GDIPlus_ImageDispose($Bild)
_GDIPlus_Shutdown()

$open = FileOpen("BILD.jpg",16)
$file = FileRead($open)

may i have the file converted without savetofile and after reopen?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...