Skip to content

Commit

Permalink
[Enh]: Image File -> Image Resource
Browse files Browse the repository at this point in the history
  • Loading branch information
seandenigris committed May 5, 2024
1 parent 8216281 commit a93338f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/VirtualStash-Core/RlJPEG.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #RlJPEG }

{ #category : #'*VirtualStash-Core' }
RlJPEG >> vsImageFile [
RlJPEG >> vsImageResource [
^ self file
]
4 changes: 2 additions & 2 deletions src/VirtualStash-Core/RlPDF.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #RlPDF }

{ #category : #'*VirtualStash-Core' }
RlPDF >> vsImageFile [
^ self imageFile
RlPDF >> vsImageResource [
^ self imageResource
]
2 changes: 1 addition & 1 deletion src/VirtualStash-Core/RlTiff.extension.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #RlTiff }

{ #category : #'*VirtualStash-Core' }
RlTiff >> vsImageFile [
RlTiff >> vsImageResource [
^ self file
]
8 changes: 4 additions & 4 deletions src/VirtualStash-Core/VsDocument.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ VsDocument >> datesRecognized [

{ #category : #accessing }
VsDocument >> form [
^ self imageFile
ifNotNil: [ :f | Form fromFileNamed: f fullName ]
^ self imageResource
ifNotNil: [ :res | res asForm ]
ifNil: [ Morph new imageForm ]
]

Expand Down Expand Up @@ -308,9 +308,9 @@ VsDocument >> hocr [
]

{ #category : #accessing }
VsDocument >> imageFile [
VsDocument >> imageResource [

^ self resource imageFile
^ self resource imageResource
]

{ #category : #accessing }
Expand Down

0 comments on commit a93338f

Please sign in to comment.