Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Is it possible to save Jpg\png images in a Delphi Linux app?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Sep 20, 2017 12:54 PM Last Post By: Dave Nottage Threads: [ Previous | Next ]
Alex Shy

Posts: 11
Registered: 8/9/07
Is it possible to save Jpg\png images in a Delphi Linux app?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 18, 2017 4:54 AM
1. Please create a new platform category on this forum - Linux.
Delphi can build apps for Linux - but there is no any category for linux apps on this forum. So strange.

2. Is it possible to save Jpg\png images in a Delphi Linux app? Linux apps does not support FMX and
so does not support units FMX.Graphics. So I'm not sure...

Thank you.

Edited by: Alex Shy on Sep 20, 2017 2:53 PM

Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Is it possible to save Jpg\png images in a Delphi Linux app?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 18, 2017 11:41 AM   in response to: Alex Shy in response to: Alex Shy
Alex Shy wrote:

Is it possible to save Jpg\png images in a Delphi Linux app?

You could always use a 3rd party image library.

Linux apps does not support FMX

See http://fmxlinux.com

--
Remy Lebeau (TeamB)
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: Is it possible to save Jpg\png images in a Delphi Linux app?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 18, 2017 3:54 PM   in response to: Alex Shy in response to: Alex Shy
Alex Shy wrote:

1. Please create a new platform category on this forum - Linux.
Delphi can build apps for Linux - but there are not any category for linux apps on this forum. So strange.

I've made the appropriate people aware of the issue.

2. Is it possible to save Jpg\png images in a Delphi Linux app?

You'll need to be more specific about what you want to do. Save the image from where?

Linux apps does not support FMX and
so does not support units FMX.Graphics. So I'm not sure...

See Remy's answer regarding that.

--
Dave Nottage [MVP, TeamB]
Find hints, tips and tricks at Delphi Worlds blog: http://www.delphiworlds.com
Alex Shy

Posts: 11
Registered: 8/9/07
Re: Is it possible to save Jpg\png images in a Delphi Linux app?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 20, 2017 2:40 AM   in response to: Dave Nottage in response to: Dave Nottage
Dave Nottage wrote:

2. Is it possible to save Jpg\png images in a Delphi Linux app?

You'll need to be more specific about what you want to do. Save the image from where?

For example to generate bitmap in memory and save it as jpg to disk.
So as I understand this is possible only using third party components. How do you think is it possible to use FMX.Graphics and related units in Linux forcibly?
Thank you for your answers.
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: Is it possible to save Jpg\png images in a Delphi Linux app?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 20, 2017 12:54 PM   in response to: Alex Shy in response to: Alex Shy
Alex Shy wrote:

For example to generate bitmap in memory and save it as jpg to disk.
So as I understand this is possible only using third party components. How do you think is it possible to use
FMX.Graphics and related units in Linux forcibly?

You may be out of luck there, since some of the FMX units will probably not compile for Linux. Haven't tried that
myself.

--
Dave Nottage [MVP, TeamB]
Find hints, tips and tricks at Delphi Worlds blog: http://www.delphiworlds.com
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02