This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fully working png and jpg lossless compression for one file
- Loading branch information
clouless
committed
Dec 29, 2018
1 parent
bdfac4a
commit 4cc8a00
Showing
10 changed files
with
60 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<div class="container"> | ||
<div class="app-logo"> | ||
<img [src]="logoSrc" class="img-fluid" /> | ||
<div class="logo"> | ||
<img [src]="logoSrc" class="logo-img" /> | ||
</div> | ||
<router-outlet></router-outlet> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
<div class="container"> | ||
<input type="file" (change)="processFileToBase64DataURI($event)"> | ||
<pre>{{uploadedFileBase64URI}}</pre> | ||
<p>{{compressDone}}</p> | ||
<p *ngIf="originalFileName && !compressDone!">COMPRESSING PLEASE WAIT ...</p> | ||
<p *ngIf="originalFileName && compressDone!">COMPRESSING DONE :)</p> | ||
<div *ngIf="originalFileName"> | ||
<h3>{{originalFileName}}</h3> | ||
<app-terminal-output | ||
[temporaryFileName]="temporaryFileName" | ||
[originalFileName]="originalFileName" | ||
[lines]="terminalLines" | ||
></app-terminal-output> | ||
</div> | ||
<a *ngIf="compressDone == true" [href]="getDownloadUrl()">download</a> | ||
<h3>Terminal output</h3> | ||
<app-terminal-output [lines]="terminalLines"></app-terminal-output> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
/* You can add global styles to this file, and also import other style files */ | ||
|
||
body { | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | ||
} |