Modify

Opened 10 years ago

Closed 10 years ago

#1720 closed Feature Request (Rejected)

adding functionality to GUICtrlSetImage

Reported by: ynbIpb Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: GUICtrlSetImage Cc:

Description

Hello!
I beg you to realize the possibility of using binary data as a function GUICtrlSetImage.
Example:
Now the function uses the image file:
GUICtrlSetImage (controlID, @ ScriptDir & "\ image.jpg")
I want this:
$ HImageFile = FileOpen (@ ScriptDir & "\ image.jpg", 16); binary mode
$ BImageData = FileRead ($ hImageFile); binary data
GUICtrlSetImage (controlID, $ bImageData)
Thank you.

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by TicketCleanup

  • Version 3.3.6.1 deleted

Automatic ticket cleanup.

comment:2 Changed 10 years ago by Jpm

I don't really understand the request.
the data needed to set an image must be interpreted.
.jpg .bmp have a different information in it. That the reason why the file data cannot be transmitted as such.

Can you give a real example where you request will be helpful?

comment:3 Changed 10 years ago by ynbIpb

Example:
I have a lot of pictures. I thought their format for storing all images in one file. I read in binary mode only a fragment of the file (a picture) and installed on the GUI
Or I want to save the picture in binary form in the script code.

I heard that if the problem can be implemented in UDF, then my request is not granted.

comment:4 Changed 10 years ago by Jpm

  • Resolution set to Rejected
  • Status changed from new to closed

I don't know how and from which images format you are creating such images storing but if you know the way I assume an UDF can be easily written.
Such discussion must go to http://www.autoitscript.com/forum/ before ticket submission

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.